curl -X PATCH https://api.whatabot.app/api/v1/clients/{id} \
-H "X-Api-Key: wh_your_api_key" \
-H "Content-Type: application/json" \
-d '{"name": "New Name"}'
OAuth Clients
Update Client
Update an OAuth client.
PATCH
/
v1
/
clients
/
{id}
curl -X PATCH https://api.whatabot.app/api/v1/clients/{id} \
-H "X-Api-Key: wh_your_api_key" \
-H "Content-Type: application/json" \
-d '{"name": "New Name"}'
Update an OAuth client’s name.
string
required
Your API key (prefixed with
wh_).string
required
Client ID.
Body
string
Updated client name.
Payload examples
- Update name
{
"name": "New Name"
}
curl -X PATCH https://api.whatabot.app/api/v1/clients/{id} \
-H "X-Api-Key: wh_your_api_key" \
-H "Content-Type: application/json" \
-d '{"name": "New Name"}'