Update an organisation
Changes an organisation’s name, its slug or both. A new slug changes the organisation’s address in every path. Answers 409 when you are already in another organisation of the new name. An API key cannot do this.
/_luna/orgs/{org}AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
organisation:writeorgstringrequiredThe organisation, by its slug.
application/jsonslugstring | nullA new slug: lower-case letters, digits and single dashes. Paths use it from then on.
namestring | nullA new name.
The organisation as it is now.
idstringrequiredslugstringrequiredThe name paths use for it. Luna makes it from the name.
namestringrequiredcreatedMsinteger<int64>requiredThe request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.