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": "YKuctBVhvJs4a4NFQQ4D5KmXDmdW",
"created_at": "2025-04-21T20:01:30.749Z",
"discord": "D0I88bZ",
"email": "T@TrOxfTP.com",
"email_verified": "2025-04-21T20:01:30.749Z",
"first_name": "ssBYi5Zxfnk",
"github": "fsoROMsLWuWtoIyKaThjoqp0",
"id": "ba4ac969-8456-4ed9-97b1-e5b70b1d9ea8",
"image": "https://65fTjFT2.33bUoLTC.com/MNVIYDnnucaL/7rer",
"last_name": "UfBZaZoquD0",
"name": "jhdIpHMdlP8iHpobnHrkBhBwC821r",
"phone": "+1-238-906-4798",
"role": "admin",
"updated_at": "2025-04-21T20:01:30.749Z"
}