Update a project
Changes a project’s name, its slug or both. Its tenants keep their names, so nothing moves. Answers 409 when the organisation has another project of the new name. You need the owner or admin role, and an API key cannot do this.
/_luna/orgs/{org}/projects/{project}AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
orgstringrequiredThe organisation, by its slug.
projectstringrequiredThe project, 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 project as it is now.
idstringrequiredrootstringrequiredThe name of its production tenant. Every other tenant of the project starts with it.
orgstringrequiredThe slug of its organisation.
slugstringrequirednamestringrequiredpathstringrequiredorganisation/project, as the CLI names it.
createdMsinteger<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.