user_shared_access_tokens
Creates, updates, deletes, gets or lists a user_shared_access_tokens resource.
Overview
| Name | user_shared_access_tokens |
| Type | Resource |
| Id | azure.api_management.user_shared_access_tokens |
Fields
The following fields are returned by SELECT queries:
- get
The response body contains the authorization token for the user.
| Name | Datatype | Description |
|---|---|---|
value | string | Shared Access Authorization token for the User. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resourceGroupName, serviceName, userId, subscriptionId | Gets the Shared Access Authorization Token for the User. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
serviceName | string | The name of the API Management service. |
subscriptionId | string | The ID of the target subscription. |
userId | string | User identifier. Must be unique in the current API Management service instance. |
SELECT examples
- get
Gets the Shared Access Authorization Token for the User.
SELECT
value
FROM azure.api_management.user_shared_access_tokens
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND userId = '{{ userId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;