API → OrgsUpdate an org

Parameters

Name

Type

Req.

Returns

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": "x@nP4QFOk.com",
  "domain": "SPwGYCvyxoj2zsUxJBWKUwc",
  "image": "https://Rs1hMp5z.XX6B4t.com/M/vxgX",
  "name": "bEn0n7C8zrXH",
  "phone": "+1-204-331-4291"
}'
200 OK
Response
{
  "allow_users_in_domain_to_auto_join": true,
  "billing_email": "CpwxT0YPq2@U.com",
  "billing_email_verified": "2024-10-21T17:59:26.725Z",
  "block": "missing_payment_method",
  "can_train_on_data": false,
  "created_at": "2024-10-21T17:59:26.725Z",
  "domain": "1DnA5uP3wa32Q89wdXMj6T29DfGax",
  "id": "2b4ebec7-7d41-4fd5-92a6-e3f8bd2c4a83",
  "image": "https://.2o9G64DT1aw.com/z7TU/Uq",
  "name": "8zWg1",
  "phone": "+1-233-819-3463",
  "stripe_id": "FfrsabmvYXT37gvqRgVIpB",
  "updated_at": "2024-10-21T17:59:26.725Z"
}