Skip to main content

user_shared_access_tokens

Creates, updates, deletes, gets or lists a user_shared_access_tokens resource.

Overview

Nameuser_shared_access_tokens
TypeResource
Idazure.api_management.user_shared_access_tokens

Fields

The following fields are returned by SELECT queries:

The response body contains the authorization token for the user.

NameDatatypeDescription
valuestringShared Access Authorization token for the User.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, serviceName, userId, subscriptionIdGets 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.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.
userIdstringUser identifier. Must be unique in the current API Management service instance.

SELECT examples

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
;