Verdocs - Developer Documentation
ReferenceRest APIAPI DocumentationRoles

Add a role to a template

POST
/v2/roles/{template_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 POST "https://api.verdocs.com/v2/roles/{template_id}" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "type": "signer"  }'
{
  "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"
}