Skip to main content
DELETE
/
permissions
/
{permissionId}
/
assignments
/
{assignmentId}
Revoke Permission
curl --request DELETE \
  --url https://api.dfns.io/permissions/{permissionId}/assignments/{assignmentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-DFNS-USERACTION: <api-key>'

Authentication

✅ Organization User (CustomerEmployee)
✅ Delegated User (EndUser)
✅ Service Account

Required Permissions

Permissions:Revoke: Always required.

Authorizations

Authorization
string
header
required

Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows

X-DFNS-USERACTION
string
header
required

User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows

Path Parameters

permissionId
string
required
Minimum length: 1
assignmentId
string
required
Minimum length: 1

Query Parameters

force
boolean
default:false

Response

200

Success

I