curl --request GET \
--url https://api.dfns.io/permissions/{permissionId} \
--header 'Authorization: Bearer <token>'{
"id": "pm-37vj4-jkr4l-lc9945spfftkne57",
"name": "<string>",
"operations": [
"<string>"
],
"status": "Active",
"isImmutable": true,
"isArchived": true,
"dateCreated": "2023-04-14T20:41:28.715Z",
"dateUpdated": "2023-04-14T20:41:28.715Z",
"pendingChangeRequest": {
"id": "cr-6uunn-bm6ja-f6rmod5kqrk5rbel",
"requester": {
"userId": "<string>",
"tokenId": "<string>",
"appId": "<string>"
},
"status": "Applied",
"entityId": "<string>",
"dateCreated": "2023-04-14T20:41:28.715Z",
"kind": "Permission",
"operationKind": "Update",
"body": {
"id": "pm-37vj4-jkr4l-lc9945spfftkne57",
"name": "<string>",
"status": "Active",
"operations": [
"<string>"
],
"isImmutable": true,
"isArchived": true
},
"dateResolved": "2023-04-14T20:41:28.715Z",
"approvalId": "ap-2a9in-tt2a1-983lho480p35ejd0"
}
}Retrieves a permission (role) by ID, including any pending change request.
curl --request GET \
--url https://api.dfns.io/permissions/{permissionId} \
--header 'Authorization: Bearer <token>'{
"id": "pm-37vj4-jkr4l-lc9945spfftkne57",
"name": "<string>",
"operations": [
"<string>"
],
"status": "Active",
"isImmutable": true,
"isArchived": true,
"dateCreated": "2023-04-14T20:41:28.715Z",
"dateUpdated": "2023-04-14T20:41:28.715Z",
"pendingChangeRequest": {
"id": "cr-6uunn-bm6ja-f6rmod5kqrk5rbel",
"requester": {
"userId": "<string>",
"tokenId": "<string>",
"appId": "<string>"
},
"status": "Applied",
"entityId": "<string>",
"dateCreated": "2023-04-14T20:41:28.715Z",
"kind": "Permission",
"operationKind": "Update",
"body": {
"id": "pm-37vj4-jkr4l-lc9945spfftkne57",
"name": "<string>",
"status": "Active",
"operations": [
"<string>"
],
"isImmutable": true,
"isArchived": true
},
"dateResolved": "2023-04-14T20:41:28.715Z",
"approvalId": "ap-2a9in-tt2a1-983lho480p35ejd0"
}
}CustomerEmployee)EndUser)Permissions: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 - 64Success
ID of the permission (also referred to as "role" in the dashboard).
1 - 64^pm-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"pm-37vj4-jkr4l-lc9945spfftkne57"
Human-readable name of the permission (role).
List of API operations this permission grants access to. See Permissions List for available operations.
Current status of the permission.
Active Whether this permission is system-managed and cannot be modified.
Whether this permission has been archived (soft-deleted).
Show child attributes
Was this page helpful?