API → Orgs → Update 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": "xZQ0G2",
"created_at": "2025-03-14T16:49:52.959Z",
"discord": "yCOuij",
"email": "8Bl3@kOwfhfM.com",
"email_verified": "2025-03-14T16:49:52.959Z",
"first_name": "3K677rZTCOy04S",
"github": "hmhqN1ueXs5p3",
"id": "1c45912b-2012-4583-9231-5083eb849b1b",
"image": "https://.V8.com/fTXp4XE/fP6NIKdm1",
"last_name": "OVyt",
"name": "WK",
"phone": "+1-466-207-2560",
"role": "service_account",
"updated_at": "2025-03-14T16:49:52.959Z"
}