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": "admin"
}'
200 OK
Response{
"company": "J",
"created_at": "2025-01-07T17:17:03.108Z",
"discord": "7KzQunQ",
"email": "KJJ@D.com",
"email_verified": "2025-01-07T17:17:03.108Z",
"first_name": "bZZ17M6DdH",
"github": "GcpNFG5T3TD7pkpHWCYmo6KXSFI",
"id": "529a0bbc-ce77-4c1b-9dda-8416a7f50d84",
"image": "https://tWcyv9Hj894.Vjcex.com/G/giX5rE5LEELe",
"last_name": "mmNogogNCCQQgTaCtuPOwdi",
"name": "awj6mHBhpA8px3fDes6eNj",
"phone": "+1-931-919-6223",
"role": "service_account",
"updated_at": "2025-01-07T17:17:03.108Z"
}