Remove a standard member and disable their keys
Only targets with role=member are allowed. You cannot remove an owner, admin, manager, or the enterprise creator. Historical data is retained, and pending invitations and runtime access are revoked.
Required permission: members:remove. Authenticate with an OpenAPI Key bound to the target workspace using Authorization: Bearer <OpenAPI Key>.
Path Parameters
- Type: stringidrequired
External ID of the target resource. Resources in another workspace are inaccessible.
Headers
- Type: stringIdempotency
- Key min length:1max length:200requiredUse a unique request ID for each operation with the same machine Key. A duplicate with identical parameters reuses the original result; changed parameters return 409. Maximum 200 bytes.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for delete/v1/members/{id}
curl https://openapi.apigo.ai/v1/members/REPLACE_WITH_RESOURCE_ID \
--request DELETE \
--header 'Idempotency-Key: request-REPLACE-WITH-UNIQUE-ID' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"code": 0,
"message": "string",
"data": {
"removed": true,
"revoked_api_key_count": 0
}
}