PUT
/
v1
/
roles
/
{role_id}
curl --request PUT \
  --url https://api.eqho.ai/v1/roles/{role_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "description": "Help customers with their problems and concerns.",
  "markdown": {
    "sections": [
      {
        "content": "Help customers with their problems and concerns.",
        "level": 2,
        "subsections": [
          {
            "content": "Help customers with their problems and concerns.",
            "level": 3,
            "title": "Subsection 1"
          }
        ],
        "title": "Instructions"
      }
    ]
  },
  "name": "Customer Support"
}'
{
  "description": "Help customers with their problems and concerns.",
  "markdown": {
    "sections": [
      {
        "content": "Help customers with their problems and concerns.",
        "level": 2,
        "subsections": [
          {
            "content": "Help customers with their problems and concerns.",
            "level": 3,
            "title": "Subsection 1"
          }
        ],
        "title": "Instructions"
      }
    ]
  },
  "name": "Customer Support"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

role_id
string
required

Body

application/json

Response

200
application/json
Successful Response

The response is of type object.