DevelopersAPI reference
Update a member
PATCH
/members/{id}Updates an active member’s name, role or manager, as the app does. Omitted fields stay as they are, and manager_id: null removes the manager. Owners keep their role, and nobody becomes an owner through the API. A suspended or former member is a 404 here, although GET /members/{id} returns them.
Authorization
apiKey members:writeAuthorizationBearer <token>
An organisation API key, sent as Authorization: Bearer enl_…. Create keys in Settings, API Keys.
In: header
Scope: members:write
Path Parameters
id*string
Format
uuidRequest 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
curl -X PATCH "https://example.com/members/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -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"}