Skip to main content
PUT
/
account
/
instances
/
{id}
/
name
Update instance name
curl --request PUT \
  --url https://wsapi.chat/account/instances/{id}/name \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "status": 400,
  "detail": "invalid request body"
}

Authorizations

X-Api-Key
string
header
required

Customer API key. Only the customer-level key is accepted for /account/* endpoints. No X-Instance-Id header is required.

Path Parameters

id
string
required

Body

application/json
name
string
required
Maximum string length: 256

Response

Name updated