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": "admin"
}'
200 OK
Response{
"company": "DwCSoQ",
"created_at": "2024-05-07T19:30:54.490Z",
"discord": "a2gh5u0Ku0JOu37",
"email": "CMaZl@kycCBfZ.com",
"email_verified": "2024-05-07T19:30:54.490Z",
"first_name": "r6m6fN50vXmDThYHz24rUln8toRBTT",
"github": "YUp8wsvG5yYp",
"id": "326c1546-ea3f-4a58-868d-7eedd82301af",
"image": "https://GvbTrQL15.Z7lVJQ0wq8Ji.com/yysPRvj/sHkzbBGkPV",
"last_name": "t0CQ",
"name": "Wsmi8geUHuuWpECKHMnE",
"phone": "+1-110-213-2563",
"role": "service_account",
"updated_at": "2024-05-07T19:30:54.490Z"
}