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": "member"
}'
200 OK
Response{
"company": "mNSTvEfXNwuRB6BAHlRASS3Bk",
"created_at": "2025-05-08T23:02:39.011Z",
"discord": "ozZiYKYMJSwhEEXHyskBpld",
"email": "a1kb@0szO3.com",
"email_verified": "2025-05-08T23:02:39.011Z",
"first_name": "e1QGNLzymRipsrGnlzqMUkA5Pj46",
"github": "CqSLQLnI",
"id": "99b4d9f6-e230-4b9b-a894-215e992ecc9f",
"image": "https://ySV4FdDE.U3n.com/jdwvF8qyT/",
"last_name": "VnHZlr7L8",
"name": "zWq8nzryQA9I",
"phone": "+1-798-724-4442",
"role": "member",
"updated_at": "2025-05-08T23:02:39.011Z"
}