メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
users
/
{id}
/
effective-permissions
Lists the permissions assigned to a user directly or through roles or groups.
curl --request GET \
  --url https://{tenantDomain}/api/v2/users/{id}/effective-permissions \
  --header 'Authorization: Bearer <token>'
{
  "permissions": [
    {
      "resource_server_identifier": "<string>",
      "permission_name": "<string>",
      "resource_server_name": "<string>",
      "description": "<string>",
      "sources": [
        "direct"
      ]
    }
  ],
  "next": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://auth0.com/llms.txt

Use this file to discover all available pages before exploring further.

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

id
string
必須

ID of the user to retrieve the permissions for.

クエリパラメータ

from
string

Optional Id from which to start selection.

take
integer

Number of results per page. Defaults to 50.

必須範囲: x >= 1
resource_server_identifier
string
必須

The identifier of the resource server for which to calculate user permissions.

Required string length: 1 - 600

レスポンス

User's effective permissions successfully retrieved.

permissions
object[]
必須

List of permissions assigned to the user.

next
string

A cursor to be used as the "from" query parameter for the next page of results.