PATCH
/
api
/
v1
/
agents
/
{agentId}
Update an agent
curl --request PATCH \
  --url https://prod.featherhq.com/api/v1/agents/{agentId} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>"
}'
{
  "agent": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "inboundPhoneNumbers": [
      {
        "id": "<string>"
      }
    ],
    "outboundPhoneNumbers": [
      {
        "id": "<string>"
      }
    ],
    "cekuraAgentId": 123,
    "cekuraPhoneNumberId": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

agentId
string
required

Body

application/json

Response

200
application/json

Agent updated successfully

The response is of type object.