API → Orgs → Add a member to your org
Parameters
Name
Type
Req.
Returns
- 201 Created
successful creation
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.
post
/org/members$ curl -X POST "https://api.zoo.dev/org/members" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"email": "Fv70@I1HMex.com",
"role": "admin"
}'
201 Created
Response{
"company": "FhOaS1Zt5ISLdSCZ36l",
"created_at": "2024-11-06T08:38:10.481Z",
"discord": "FjWSlo",
"email": "y@rFw4C.com",
"email_verified": "2024-11-06T08:38:10.481Z",
"first_name": "dwdrxsv36X5gRmV",
"github": "O79GYgbvBeKMWOlL4",
"id": "e97aa558-ebef-480b-b8d0-063e76092506",
"image": "https://K2TVC.Z.com/r/",
"last_name": "JxsQ",
"name": "lnP02",
"phone": "+1-752-323-4196",
"role": "member",
"updated_at": "2024-11-06T08:38:10.481Z"
}