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": "Vc@i1wJfXlmN.com",
"domain": "Z04OnyvaQadZcKNJ7",
"image": "https://C.XkQ.com/GsN/b1gl",
"name": "JoUEBH7ySwrL",
"phone": "+1-566-789-7291"
}'
200 OK
Response{
"allow_users_in_domain_to_auto_join": true,
"billing_email": "Qm08uJl7@.com",
"billing_email_verified": "2025-05-09T08:25:50.777Z",
"block": "payment_method_failed",
"can_train_on_data": true,
"created_at": "2025-05-09T08:25:50.777Z",
"domain": "6m6C0Tb4zUC93lMFOzPt65q7",
"id": "f87fb7cc-f76f-4609-a189-0a949195ede1",
"image": "https://WhxE4M8aA.u6.com/gOyXx7Tl/bC3ixRHNWPM",
"name": "VwyHNDgy8Lzv4B3PFSMWxe",
"phone": "+1-785-575-2730",
"stripe_id": "1wjgT2G27D",
"updated_at": "2025-05-09T08:25:50.777Z"
}