Rename Agency Client
Rename a client workspace.
PATCH
https://api.foxreach.io/ api/ v1/ agency/ clients/{client_id}Requires an API key with the write scope.
Only API keys of an Agency workspace can call this endpoint (403 agency_required otherwise). The call always runs in the key's own workspace; X-Workspace-Id is ignored. Writes also need a key created by the agency workspace owner (403 agency_owner_required otherwise).
Path Parameters#
client_idstringpathrequiredThe client workspace id.
Body Parameters#
namestringbodyrequiredNew name, 1 to 100 characters.
Response#
dataobjectShow data
idstringWorkspace id.
namestringThe new name.
Errors#
| Status | Description |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | API key does not have the required scope: write |
403 | agency_required or agency_owner_required |
404 | The workspace is not owned by the agency owner |
422 | name is longer than 100 characters |
Rate Limit#
- 120 requests per minute, shared by every
writecall in your workspace. Fixed 60-second window. - Every response includes
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset(unix epoch seconds) andX-RateLimit-Bucket(write). - A
429response includes aRetry-Afterheader (seconds until the bucket resets).
For client-side patterns, see Rate Limiting.
Was this page helpful?
View as MarkdownLast updated November 4, 2026