Suspend a member
/members/{id}/suspendSuspends a member, as the app does, which frees their seat. Suspension is how people leave; members are never deleted. A member who owns materials needs transfer_materials_to, the user id of an active creator, admin or owner who takes them over. A key can’t suspend the member it acts as. Suspending that member another way pauses the key.
Authorization
apiKey members:writeAn organisation API key, sent as Authorization: Bearer enl_…. Create keys in Settings, API Keys.
In: header
Scope: members:write
Path Parameters
uuidHeader Parameters
A unique value per change, up to 255 characters. Retrying with the same key returns the first response for 24 hours.
length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/members/497f6eca-6276-4993-bfeb-53cbbbba6f08/suspend" \ -H "Idempotency-Key: string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "email": "string", "first_name": "string", "last_name": "string", "full_name": "string", "role": "owner", "status": "active", "department": { "id": 3, "name": "string" }, "manager_id": "04d66580-8fdd-49ba-83df-eaa2ccf424ff", "created_at": "2019-08-24T14:15:22Z", "last_active_at": "2019-08-24T14:15:22Z", "inactive_since": "2019-08-24T14:15:22Z"}