User Identities
Lists all user identities.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/identities&api-version={api-version}
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/identities?$skip={$skip}&$top={$top}&api-version={api-version}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
subscriptionId
|
path | True |
|
Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
|
resourceGroupName
|
path | True |
|
The name of the resource group. |
|
serviceName
|
path | True |
|
The name of the API Management service. Regex pattern: |
|
uid
|
path | True |
|
User identifier. Must be unique in the current API Management service instance. Regex pattern: |
|
$skip
|
query |
|
Number of records to skip. | |
|
$top
|
query |
|
Number of records to return. | |
|
api-version
|
query | True |
|
Version of the API to be used with the client request. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Lists of User Identities. |
|
| Other Status Codes |
Error response describing why the operation failed. |
Examples
ApiManagementListUsersIdentities
Sample Request
GET https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/57f2af53bb17172280f44057/identities&api-version=2017-03-01
Sample Response
{
"value": [
{
"provider": "Microsoft",
"id": "086cf9********55ab"
}
],
"count": 1,
"nextLink": ""
}
Definitions
| ErrorFieldContract |
Error Field contract. |
| ErrorResponse | |
| UserIdentityCollection | |
| UserIdentityContract |
User identity details. |
Error Field contract.
| Name | Type | Description |
|---|---|---|
| code |
|
Property level error code. |
| message |
|
Human-readable representation of property-level error. |
| target |
|
Property name. |
| Name | Type | Description |
|---|---|---|
| code |
|
Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response. |
| details |
The list of invalid fields send in request, in case of validation error. |
|
| message |
|
Human-readable representation of the error. |
| Name | Type | Description |
|---|---|---|
| count |
|
Total record count number across all pages. |
| nextLink |
|
Next page link if any. |
| value |
User Identity values. |
User identity details.
| Name | Type | Description |
|---|---|---|
| id |
|
Identifier value within provider. |
| provider |
|
Identity provider name. |