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": "YZ3qDCFE0",
"created_at": "2024-07-27T01:15:52.217Z",
"discord": "wUKpoY56nG8VnFOshk",
"email": "Qp5@sipTnaQ.com",
"email_verified": "2024-07-27T01:15:52.217Z",
"first_name": "yRqkKSHuRzCP0KbHuvOa2GIS",
"github": "fBCcZ8GIbOO",
"id": "e657fb7b-4326-4fbc-8e04-9af90c13ae26",
"image": "https://.r6ZLaxYodd1y.com/K/HmAg",
"last_name": "zao666KsaYV2om",
"name": "vsRxfABd4Hxv21xWqXnh",
"phone": "+1-701-903-5109",
"role": "service_account",
"updated_at": "2024-07-27T01:15:52.217Z"
}