Skip to main content
POST
/
permissions
Create system permission
curl --request POST \
  --url https://{organization}.admin.credibledata.com/api/v0/permissions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userEmail": "jsmith@example.com",
  "permission": "admin"
}
'
{
  "userEmail": "jsmith@example.com",
  "permission": "admin"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Represents a system-level permission assignment for administrative functions

userEmail
string<email>

The email address of the user to grant system permissions to

permission
enum<string>

The system-level permission role to grant

Available options:
admin

Response

System permission created successfully

Represents a system-level permission assignment for administrative functions

userEmail
string<email>

The email address of the user to grant system permissions to

permission
enum<string>

The system-level permission role to grant

Available options:
admin