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": "JaZyBnaEt38",
"created_at": "2025-01-09T18:26:10.964Z",
"discord": "eUSP07I7xLJyBNvBUd4",
"email": "0RN@DaoxRJ5.com",
"email_verified": "2025-01-09T18:26:10.964Z",
"first_name": "SUZmqJRNI90iPH6n",
"github": "6tkDBnUtbSp3zuVyPmNWOYd",
"id": "eaa1fe95-0fbd-4259-b676-9ca4f35d0608",
"image": "https://OBr.shwJ8aHV0Wt.com/aZqA6phMF/U",
"last_name": "T2EbS",
"name": "OTR",
"phone": "+1-653-842-4778",
"role": "member",
"updated_at": "2025-01-09T18:26:10.964Z"
}