Browse the API reference

Update Organization

put/v1/orgs/{org_id}

Part of Org.

Requires admin or owner role. Only owners can change the org type.

Authentication

Authenticate in any one of these ways — not all of them:

  • API key in the X-API-Key header.
  • Bearer token in the Authorization header.

Path parameters

NameTypeDescription
org_idrequiredstringOrg Id

Request body

Required, application/json.

FieldTypeDescription
nameoptionalstring
org_typeoptionalOrgType

One of: personal, team, enterprise

Example request

curl
curl -X PUT "https://api.robosystems.ai/v1/orgs/{org_id}" \
  -H "X-API-Key: $ROBOSYSTEMS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "org_type": "string"
}'

Responses

200 Successful Response

FieldTypeDescription
idrequiredstring
namerequiredstring
org_typerequiredOrgType

One of: personal, team, enterprise

user_rolerequiredOrgRole

One of: owner, admin, member

membersrequiredobject[]
graphsrequiredobject[]
limitsrequiredobject
created_atrequiredstring (date-time)
updated_atrequiredstring (date-time)
StatusMeaning
400Invalid request
401Authentication required
403Access denied
404Resource not found
422Validation Error
429Rate limit exceeded
500Internal server error