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": "OOMC@b50z8Nx4f.com",
"domain": "PCdZjFj6WHGtH5cxpwzP9NNPbme",
"image": "https://60bVeH6Ur.JFF7YW4U.com/KIMcFZ6Vy/",
"name": "soFrJ5J9rLzxd9AT5LPooGDHTdQi9",
"phone": "+1-658-264-5493"
}'
200 OK
Response{
"allow_users_in_domain_to_auto_join": true,
"billing_email": "Ib@jW5rXrOd.com",
"billing_email_verified": "2025-04-01T00:19:46.284Z",
"block": "payment_method_failed",
"can_train_on_data": false,
"created_at": "2025-04-01T00:19:46.284Z",
"domain": "cO8o4lrZ",
"id": "de0e77bf-1c18-4464-b27e-7a9003a1eae7",
"image": "https://DPR..com/zY/D5EqsiMMdu",
"name": "MuR9dLk11t88LBZ1f9JOgv3bG7n",
"phone": "+1-509-871-4987",
"stripe_id": "vVFrVx2OoB6",
"updated_at": "2025-04-01T00:19:46.285Z"
}