API → Orgs → Update an org
Parameters
Name
Type
Req.
bodyapplication/json
objectoptionalObject Properties
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
missing_payment_method
: The user is missing a payment method and has exceeded their free API call credits for the month.payment_method_failed
: The users payment method has failed.
put
/org$ curl -X PUT "https://api.zoo.dev/org" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "WS7gW04x@BnoUhC.com",
"domain": "tXPyzw3Ub7a9ewPVOZ",
"image": "https://hksGZC0H.XpE.com/uUhvNtRZY1/DFjLn4N2A",
"name": "mOd",
"phone": "+1-303-571-6382"
}'
200 OK
Response{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "s@X4.com",
"billing_email_verified": "2025-04-25T16:39:06.667Z",
"block": "missing_payment_method",
"can_train_on_data": true,
"created_at": "2025-04-25T16:39:06.667Z",
"domain": "yP0vpsMjwwGG5",
"id": "bef5437d-d972-44ba-b5f2-33f1c2c9f264",
"image": "https://sXGzlV3.9Z.com/0zVJqfVfTQYH/jSPxAth2FH",
"name": "o6Lywm5LiK9OKlZnLY3MKMFvgD2zQs",
"phone": "+1-159-626-2694",
"stripe_id": "SJOD4x0kgE8Yqg2pl2",
"updated_at": "2025-04-25T16:39:06.667Z"
}