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": "2xWw",
"created_at": "2025-01-17T16:13:12.942Z",
"discord": "glfovrUyFZ2JI6EIwcCoZFShbClN7",
"email": "@XXQ.com",
"email_verified": "2025-01-17T16:13:12.942Z",
"first_name": "u6AfFTLY5ehh7EqTFeD6",
"github": "puLWYHTBXj2hpfiCpoku1MFmPDu3C",
"id": "e39af94d-b831-42f4-93e8-dc8ed1b2190c",
"image": "https://kTvbQ6zkq.vALegHVud.com/PeQ5Olcfn0/6JKZsqIMrC",
"last_name": "RSJAqRQ",
"name": "4tQxAUIHZu1ykMVsO0Rgm0AOp44",
"phone": "+1-516-636-9173",
"role": "service_account",
"updated_at": "2025-01-17T16:13:12.942Z"
}