Remove Member
Remove a member and revoke the API keys they created here.
DELETE
https://api.foxreach.io/ api/ v1/ workspace/ members/{member_id}Requires an API key with the write scope.
N e Only the owner can remove an admin, and the owner cannot be removed. Every live API key the removed person created in this workspace is revoked at once; keys they created elsewhere are not touched. Not available while acting as a client workspace. The call writes an audit.workspace_member.removed entry.
Path Parameters#
member_idstringpathrequiredThe member identifier (the id from List Members, not the user id).
Response#
Returns { "data": { "id", "removed": true, "revokedKeys": 1 } }.
Errors#
| Status | Description |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | The key lacks the admin or write scope, or its creator lacks the required role |
403 | Called while acting as a client workspace with X-Workspace-Id (acting_as_forbidden) |
403 | Only the owner can remove admins |
400 | The workspace owner cannot be removed |
404 | Member not found in this workspace |
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