This API operation gets the current scopes that the user has granted for your project. You can always check this before trying to call an endpoint that requires specific scopes.
GET
/v1/Account/GetPermissions
Property | Type | Description |
---|---|---|
This operation does not accept any parameters. |
This endpoint is using the HTTP GET method.
The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.
An Authorization header is required with every request and must contain the access_token of the user. More information can be found in the Access tokens page.
This endpoint does not require any additional scopes.
Property | Type | Description |
---|---|---|
Permissions |
array of aws:Permissions | The scopes the user has granted access for. |
The following example returns the permissions of a user.