curl --request GET \
--url https://api.dfns.io/permissions/{permissionId}/assignments \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "as-1vcmc-qrek0-6b4vii9pln60907e",
"permissionId": "pm-37vj4-jkr4l-lc9945spfftkne57",
"identityId": "<string>",
"isImmutable": true,
"dateCreated": "2023-04-14T20:41:28.715Z",
"dateUpdated": "2023-04-14T20:41:28.715Z"
}
],
"nextPageToken": "<string>"
}Lists all permission (role) assignments for a given permission.
curl --request GET \
--url https://api.dfns.io/permissions/{permissionId}/assignments \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "as-1vcmc-qrek0-6b4vii9pln60907e",
"permissionId": "pm-37vj4-jkr4l-lc9945spfftkne57",
"identityId": "<string>",
"isImmutable": true,
"dateCreated": "2023-04-14T20:41:28.715Z",
"dateUpdated": "2023-04-14T20:41:28.715Z"
}
],
"nextPageToken": "<string>"
}CustomerEmployee)EndUser)Permissions:Assignments:Read: Always required.Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
ID of the permission (also referred to as "role" in the dashboard).
1 - 64Maximum number of items to return.
1 <= x <= 500Opaque token used to retrieve the next page. Returned as nextPageToken from the previous request.
1Was this page helpful?