Members
Update Member
Changes a member's role to admin or member. A key cannot make anybody an owner — do that in the console, signed in as one — and the workspace's last owner cannot be demoted. Needs a full key.
PATCH/members/{id}
Path parameters
- idstring (uuid)required
- The member's
id, from List Members.
Headers
- Katexs-Workspacestring
- Developers only: the customer workspace this request acts in — its
org_…id fromPOST /customers. Leave it out to act in your own workspace. Refused with404(Workspace not found.) when the id is unknown, is not one of your customers, or is not anorg_…id;410when that customer was deleted (restore it withPOST /customers/{id}/restoreuntil it is erased);403when the key belongs to one customer workspace (it cannot act as another);400when your workspace is not a developer workspace./customers/*andGET /customers/usageare your own workspace's and refuse the header with400: call them without it.
Request body
- rolestringrequired
- The new role.
owneris refused with403: make owners in the console. One of:admin,member.
Example request
bash
curl -X PATCH "https://app.katexs.com/api/v1/members/{id}" \
-H "Authorization: Bearer $KATEXS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"role": "admin"
}'Responses
| Status | Description |
|---|---|
200 | The member as they now are. |
400 | role is not one of the roles. |
401 | The key is missing, wrong or revoked. The answer is always the same, whichever it is. |
403 | role: "owner" — a key cannot make anybody an owner — or the key may not make this request. |
404 | Not a member of this workspace. |
409 | That would leave the workspace with no owner. |
410 | The customer named in Katexs-Workspace was deleted. POST /customers/{id}/restore brings it back until its erase date. |
429 | Over a per-minute limit. Wait for Retry-After seconds. code and limit say which limit: rate_limit_resources (240 requests a minute for the workspace), rate_limit_family (2,400 across a developer's customers), rate_limit_calls, rate_limit_messages, rate_limit_codes, rate_limit_code_recipient, concurrent_calls or number_daily_limit. |
Response fields
- idstring (uuid)required
- The person's id, used by Update Member, Remove Member and Add Team Member.
- namestringrequired
- Their name.
- emailstring (email)required
- Their sign-in email.
- rolestringrequired
owner,adminormember. One of:owner,admin,member.- joinedAtstring (date-time) | nullrequired
- When they joined the workspace.
200 response
{
"id": "1f3a5c7e-9b2d-4e6f-8a0c-2e4f6a8b0d13",
"name": "Rahul Kulkarni",
"email": "rahul@sunrisedental.in",
"role": "admin",
"joinedAt": "2026-09-03T12:48:09.377Z"
}Last updated November 2026 · Found a problem? Email support@katexs.com
