Skip to main content
POST
/
workspace
/
roles
/
{role}
/
permissions
/
{permission}
Attach Permission to Role
curl --request POST \
  --url https://wks-a1b2c3d4.provisionr.io/api/v1/workspace/roles/{role}/permissions/{permission} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "included": "<string>",
  "links": {
    "workspace_permission": "<string>",
    "workspace_role": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.provisionr.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

role
string
required

The role ID

permission
string
required

The permission ID

Body

application/json

CreateWorkspaceRolePermissionRequestData

The body is of type CreateWorkspaceRolePermissionRequestData · object.

Response

WorkspaceRolePermissionResponseData

included
string
required

Included related resources for the workspace role permission record

API hyperlinks related to the workspace role permission record