Rename the selected organization
Owner only; the path must match the selected tenant, and ownership is checked again inside the request transaction after the organization row is locked. The submitted value has at most 100 characters and no control characters; surrounding whitespace is trimmed and at least one character must remain. Forbidden while the organization is pending deletion; restore it first. The new name appears in the dashboard, invitations and exports.
Request body
| Parameter | Description |
|---|---|
namerequiredstring | Maximum length: 100. |
Full request schema and constraints
application/json- body
name*string1 <= length <= 100Path parameters
| Parameter | Description |
|---|---|
tenant_idrequiredstring |
dashboardToken__Host-st_session<token>This scheme applies only to requests from the same-origin dashboard SPA on the dashboard host. The dashboard authenticates with __Host-st_session; st-tenant and st-env select the active organization and mode. The API server at https://api.sendtier.example ignores this cookie; API clients authenticate with bearerAuth.
Organization renamed.
application/json- response
id*stringname*string