API → OrgsUpdate 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": "fh2",
"created_at": "2025-07-25T20:53:44.225Z",
"discord": "g8JC9blfcXcuAxLiqCrF",
"email": "fkZi@.com",
"email_verified": "2025-07-25T20:53:44.225Z",
"first_name": "WLmvfSwDX7X6pPz1Us4DQ6A",
"github": "2QpuY00bs2WyEF6VAP3xqnHBxru",
"id": "a1b0c756-d1cc-4a3e-ac8e-8e4d5a4bbbe5",
"image": "https://yqSun.22.com/aICm8Bt6i7/",
"last_name": "jeauuc5DcisVDHDJK5AHSMcAo3Cn",
"name": "7oQEMMq6hg",
"phone": "+1-846-415-7142",
"role": "service_account",
"updated_at": "2025-07-25T20:53:44.225Z"
}