Skip to main content
PUT
/
account
/
instances
/
{id}
/
apikey
Regenerate instance API key
curl --request PUT \
  --url https://wsapi.chat/account/instances/{id}/apikey \
  --header 'X-Api-Key: <api-key>'
"<string>"

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

Response

New API key

The response is of type string.