Update an organization

When authenticated with an API key, this operation requires api-admin.

Authentication

AuthorizationBearer
Console user session or Mixlayer API key supplied as a Bearer token.

Path parameters

org_idstringRequired
Organization ID

Request

This endpoint expects an object.
data_persistenceobjectOptional

Stored-response persistence settings. stored_responses_days overrides the default 30-day retention for Responses API requests using store: true; values must be 0 through 90, and 0 disables storage.

namestringOptional
New organization name. Whitespace is trimmed and the resulting name must not be empty.

Response

Updated organization
dataobject
Organization details with the caller's role and current member counts.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
413
Content Too Large Error
415
Unsupported Media Type Error
422
Unprocessable Entity Error
500
Internal Server Error