Muokkaa

Jaa


How to manage user accounts in Azure API Management

APPLIES TO: Developer | Basic | Basic v2 | Standard | Standard v2 | Premium | Premium v2

In API Management, developers are the users of the APIs that you expose using API Management. This guide shows how to create and invite developers to use the APIs and products that you make available to them with your API Management instance. For information on managing user accounts programmatically, see the User entity documentation in the API Management REST API reference.

Prerequisites

Go to your API Management instance

  1. In the Azure portal, search for and select API Management services.

    Select API Management services

  2. On the API Management services page, select your API Management instance.

    Select your API Management instance

Create a new developer

To add a new user, follow the steps in this section:

  1. In the left menu, under Developer portal, select Users.

  2. Select + Add.

  3. Enter appropriate information for the user.

  4. Select Add.

    Screenshot of adding a user in the portal.

By default, newly created developer accounts are Active, and associated with the Developers group. Developer accounts that are in an Active state can be used to access the developer portal and all of the APIs for which they have subscriptions. To associate the newly created developer with additional groups, see How to associate groups with developers.

Invite a developer

To invite a developer, follow the steps in this section:

  1. In the left menu, under Developer portal, select Users.
  2. Select + Invite.
  3. Enter appropriate information for the user, including the email address.
  4. Select Send invitation.

When a developer is invited, by default an email is sent to the developer. This email is generated using a template and is customizable. For more information, see Configure email templates.

The developer can accept the invitation by following the instructions in the email. Once the invitation is accepted, the account becomes Active.

The invitation link is active for 2 days.

Deactivate or reactivate a developer account

To deactivate a developer account in the Active state, select Block. To reactivate a blocked developer account, select Activate. A blocked developer account can't access the developer portal or call any APIs. To delete a user account, select Delete.

To block a user, follow the following steps.

  1. In the left menu, under Developer portal, select Users.
  2. Select the user that you want to block.
  3. In the top bar, select Block.

Reset a user password

When you create a developer account or a developer is invited, a password is set. You can send an email to a user to reset the password:

  1. In the left menu, under Developer portal, select Users.
  2. Select the user whose password you want to reset.
  3. In the top bar, select Reset password.
  4. To send a password reset email, select Yes.

Like the invitation email, this email is generated using a template and is customizable.

The developer can reset their password by following the instructions in the email.

To programmatically work with user accounts, see the User entity documentation in the API Management REST API reference. To reset a user account password to a specific value, you can use the Update a user operation and specify the desired password.

Once a developer account is created, you can associate it with roles and subscribe it to products and APIs. For more information, see How to create and use groups.