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": "@y7kvc.com",
"role": "member"
}'
201 Created
Response{
"company": "W41H4XWG9tEPWG6NgdWMA",
"created_at": "2024-10-21T17:59:28.669Z",
"discord": "DavxCpi",
"email": "g@9.com",
"email_verified": "2024-10-21T17:59:28.669Z",
"first_name": "IGWZKbL1MtKcymVCCg8bwxXHq",
"github": "P342MA9DgPVCgi8kaoFSviB2",
"id": "2f2d7e22-c167-4eca-809d-35c87a1a2327",
"image": "https://X5RpAf2DMZl.7oGKozwJZ20.com/veZ2zvw/oBfn",
"last_name": "X0MDxhfXCnZPF",
"name": "oOoiAgK",
"phone": "+1-660-205-4999",
"role": "service_account",
"updated_at": "2024-10-21T17:59:28.669Z"
}