Skip to main content
POST
/
workspace
/
roles
/
{role}
/
users
/
{user}
Attach User to Role
curl --request POST \
  --url https://wks-a1b2c3d4.provisionr.io/api/v1/workspace/roles/{role}/users/{user} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "included": "<string>",
  "links": {
    "workspace_role": "<string>",
    "workspace_user": "<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

user
string
required

The user ID

Body

application/json

CreateWorkspaceRoleUserRequestData

The body is of type CreateWorkspaceRoleUserRequestData · object.

Response

WorkspaceRoleUserDetailedResponseData

included
string
required

Included related resources for the workspace role user record

API hyperlinks related to the workspace role user record