Rename the organization

Gives the organization the name an owner chose. Owners only. Organizations created before this existed carry a name derived from whoever signed up first, and this is the only way to change one. The name is a label: the slug does not move with it, because something may already point at the slug. Idempotent by target and value, so there is no client_id. Do not build this request from the organization id — follow the rename_organization action on the workspace representation, whose name field carries the current value.

Authentication

AuthorizationBearer

Pass an attributable fp2 API key as Authorization: Bearer <key>. Never embed keys in repositories or documentation.

Path parameters

organizationIdstringRequired

Request

This endpoint expects an object.
namestringRequired

Response

Success
organization_idstring
namestring
slugstring or null
rolestring
memberslist of objects
members_totaldouble or enum or enum
invitationslist of objects
actionslist of objects
blockedlist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error