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": "Ok@C59CdQw.com",
"domain": "dj",
"image": "https://zygQJ55aInJw.o4H8NduC5cl3.com/RsKoby7iBiO/nGHIDz",
"name": "lofoeJT",
"phone": "+1-735-822-1167"
}'
200 OK
Response{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "dx0p@9Km9z9H.com",
"billing_email_verified": "2025-05-22T02:03:44.324Z",
"block": "missing_payment_method",
"can_train_on_data": false,
"created_at": "2025-05-22T02:03:44.324Z",
"domain": "lj9hTksAyfFDo1",
"id": "61feebc1-4b78-4047-a9b2-1a6408aed8c3",
"image": "https://zp9eMntxoGx..com/zG/6thRelq",
"name": "Ok5G68H3iQr0",
"phone": "+1-754-716-1671",
"stripe_id": "240O7bZT7c5KZJkDHXNP6Jzevr",
"updated_at": "2025-05-22T02:03:44.324Z"
}