curl --request GET \
--url https://api.dfns.io/permissions \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "<string>",
"name": "<string>",
"operations": [
"<string>"
],
"status": "Active",
"isImmutable": true,
"isArchived": true,
"dateCreated": "<string>",
"dateUpdated": "<string>",
"pendingChangeRequest": {
"id": "<string>",
"requester": {
"userId": "<string>",
"tokenId": "<string>",
"appId": "<string>"
},
"status": "Applied",
"entityId": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"kind": "Permission",
"operationKind": "Update",
"body": {
"id": "<string>",
"name": "<string>",
"status": "Active",
"operations": [
"<string>"
],
"isImmutable": true,
"isArchived": true
},
"dateResolved": "2023-11-07T05:31:56Z",
"approvalId": "<string>"
}
}
],
"nextPageToken": "<string>"
}Retrieves a list of permissions (success) or gives a reason why it’s not possible (failure).
curl --request GET \
--url https://api.dfns.io/permissions \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "<string>",
"name": "<string>",
"operations": [
"<string>"
],
"status": "Active",
"isImmutable": true,
"isArchived": true,
"dateCreated": "<string>",
"dateUpdated": "<string>",
"pendingChangeRequest": {
"id": "<string>",
"requester": {
"userId": "<string>",
"tokenId": "<string>",
"appId": "<string>"
},
"status": "Applied",
"entityId": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"kind": "Permission",
"operationKind": "Update",
"body": {
"id": "<string>",
"name": "<string>",
"status": "Active",
"operations": [
"<string>"
],
"isImmutable": true,
"isArchived": true
},
"dateResolved": "2023-11-07T05:31:56Z",
"approvalId": "<string>"
}
}
],
"nextPageToken": "<string>"
}CustomerEmployee)EndUser)Permissions:Read: Always required.Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
Was this page helpful?