API → OrgsUpdate a member of your org
Parameters
Name
Type
Req.
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
admin
: Admins can do anything in the org.member
: Members of an org can not modify an org, but they belong in the org.service_account
: A service account role.
put
/org/members/{user_id}$ curl -X PUT "https://api.zoo.dev/org/members/{user_id}" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"role": "member"
}'
200 OK
Response{
"company": "",
"created_at": "2025-05-30T23:19:42.037Z",
"discord": "yGDmt8zQYk",
"email": "R9jG@rlisH.com",
"email_verified": "2025-05-30T23:19:42.037Z",
"first_name": "ffKzk",
"github": "z1yn76WDGGUliUFhpm2kmq",
"id": "fcfaf5cd-b2c3-4c03-84ed-7867649cbd26",
"image": "https://NM.5hNbo62q.com/xqf6j7WjS28z/Do3",
"last_name": "sGoIoWQIlX5YNH3jIgEY1jFAnr6Ss",
"name": "KkmQGJj",
"phone": "+1-184-313-7111",
"role": "service_account",
"updated_at": "2025-05-30T23:19:42.037Z"
}