Skip to main content
POST
Assign Tenant Permission

Authentication

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

Required Permissions

Tenant:Permissions:Assign: 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

ID of the permission (also referred to as "role" in the dashboard).

Required string length: 1 - 64

Body

application/json
identityId
string
required

ID of the identity to assign the permission to. Can be a user ID, a service account ID, or a personal access token (PAT) ID.

Minimum string length: 1

Response

200

Success