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": "xUG8W0iVPLVoC",
"created_at": "2025-03-12T01:36:37.019Z",
"discord": "cHnF1",
"email": "@1FF.com",
"email_verified": "2025-03-12T01:36:37.019Z",
"first_name": "GY",
"github": "DpZ",
"id": "6461156d-a84e-4e96-a055-1590ffa52da4",
"image": "https://Cf3.JfB1I1s.com/ygfxGhdP/",
"last_name": "b5cMHsvFgvSB7Xe19uZ",
"name": "zGReBzpu6ozj",
"phone": "+1-661-758-6697",
"role": "service_account",
"updated_at": "2025-03-12T01:36:37.019Z"
}