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

service
string
required

The service ID

Body

application/json

CreateWorkspaceRoleServiceRequestData

The body is of type CreateWorkspaceRoleServiceRequestData · object.

Response

WorkspaceRoleServiceResponseData

included
string
required

Included related resources for the workspace role permission record

API hyperlinks related to the workspace role service record