Verdocs - Developer Documentation
ReferenceRest APIAPI DocumentationRoles

Update a role. See createRole for additional details on the parameters available.

PATCH
/v2/roles/{template_id}/{role_id}

Request Body

application/json

Body Parameters

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://api.verdocs.com/v2/roles/{template_id}/{role_id}" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "name_locked": true,
  "order": 0,
  "sequence": 0
}
{
  "status": "ERROR",
  "error": "string"
}
{
  "status": "ERROR",
  "error": "string"
}
{
  "status": "ERROR",
  "error": "string"
}
{
  "status": "ERROR",
  "error": "string"
}