cURL
curl --request GET \ --url https://{tenant}/api/apis/{apiID}/access \ --header 'Authorization: Bearer <token>'
{ "userGroupIds": [ "663a4ed6b6be920001b191aa", "663a4ed6b6be920001b191ab" ], "userIds": [ "663b2a835715ecb6edef24e3", "663a5bbf5715ec8040251f2a" ] }
This will return APIAccessManagementPayload that has two lists containing users and user groups that have access to an API.
The Tyk Dashboard API Access Credentials
The API ID
APIAccessManagementPayload represents two lists containing users and user groups that have access to an API
[ "663a4ed6b6be920001b191aa", "663a4ed6b6be920001b191ab"]
[ "663b2a835715ecb6edef24e3", "663a5bbf5715ec8040251f2a"]
Was this page helpful?