Skip to content
Subako Docs
Esc
navigateopen⌘Jpreview

PATCH /v1/organization

PATCH/v1/organization
Authorization
AuthorizationBearer token · headerrequired
Request body
requiredapplication/json
namestringrequired
max length 200
Responses
200Renamed.
created_atstring<date-time>required
handlestringrequired
idstring<uuid>required
namestringrequired
oidc_provider_idstring<uuid>required
400Malformed body or a name outside the bound.
errorErrorDetailrequired
Show properties
codeErrorCoderequired
The machine-readable half of an error response, and the field a client branches on. Closed: every error carries exactly one of these.
Allowed:unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternal
messagestringrequired
401Missing, malformed, or invalid bearer token.
errorErrorDetailrequired
Show properties
codeErrorCoderequired
The machine-readable half of an error response, and the field a client branches on. Closed: every error carries exactly one of these.
Allowed:unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternal
messagestringrequired
403Caller lacks org.manage.
errorErrorDetailrequired
Show properties
codeErrorCoderequired
The machine-readable half of an error response, and the field a client branches on. Closed: every error carries exactly one of these.
Allowed:unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternal
messagestringrequired
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X PATCH "https://api.us.cloud.subako.ai/v1/organization" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string"
}'
Response
{
  "created_at": "2019-08-24T14:15:22Z",
  "handle": "string",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "oidc_provider_id": "5253a652-4e99-4fd3-8b8b-b4f5b8d636d7"
}