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": true,
"billing_email": "THaX6MPpGe@symu7j6wH.com",
"domain": "nL",
"image": "https://bepSv.4zAH3.com/1t56TQo0/JRdLOGEVV",
"name": "J7SaV6WbaoQGEKJRJ3Ur8MV46yf",
"phone": "+1-577-333-8296"
}'
200 OK
Response{
"allow_users_in_domain_to_auto_join": true,
"billing_email": "zpGVjfso@ZLWLAn.com",
"billing_email_verified": "2025-07-07T14:48:40.774Z",
"block": "missing_payment_method",
"can_train_on_data": false,
"created_at": "2025-07-07T14:48:40.774Z",
"domain": "Y9EgH",
"id": "669d5a23-e6a1-4897-8547-3d57abb2d8a8",
"image": "https://YBw.I6E.com/Kx3Lpk/WrSZ4HE",
"name": "douJe402z7TYyqFubRUZAkda2",
"phone": "+1-387-431-6578",
"stripe_id": "L",
"updated_at": "2025-07-07T14:48:40.774Z"
}