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": "0J3u",
"created_at": "2024-12-19T17:49:10.130Z",
"discord": "rU0hnYnE3v",
"email": "j1rHz@BRyT4.com",
"email_verified": "2024-12-19T17:49:10.130Z",
"first_name": "dLG5xub",
"github": "I5epW",
"id": "c1a67dbd-79e2-4dbd-be58-7bbc8aba1177",
"image": "https://T3Z4fIY8mvR.eKEpx.com/ZaSJfM6/6",
"last_name": "Efip5AWDc",
"name": "OlQi8KhC1q",
"phone": "+1-616-414-4993",
"role": "member",
"updated_at": "2024-12-19T17:49:10.130Z"
}