API → OrgsUpdate 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": "WMWv60iJ@uKmMMZSUEa.com",
"domain": "ypXvq",
"image": "https://Ydd.iO3H.com/xbi7j/SR5uOvKBqJT",
"name": "fFFQ",
"phone": "+1-640-864-2743"
}'
200 OK
Response{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "TPmSE@fpi.com",
"billing_email_verified": "2025-07-31T01:10:23.039Z",
"block": "payment_method_failed",
"can_train_on_data": true,
"created_at": "2025-07-31T01:10:23.039Z",
"domain": "uhje8eC1D",
"id": "e7a1e0fc-d65c-4aeb-add8-35fe47aeac90",
"image": "https://y5Ctl6iqhuN.n7jDaO.com/0C0zUyQdi/o",
"name": "3Z4MwjL4iHXmAjgLrzLy",
"phone": "+1-334-608-5274",
"stripe_id": "rLFa5k",
"updated_at": "2025-07-31T01:10:23.039Z"
}