Create a project
Creates a project in an organisation, with its production environment. Luna makes the slug from the name. Answers 409 when the organisation already has a project of that name. An API key needs to reach the whole organisation.
/_luna/orgs/{org}/projectsAuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
projects:writeorgstringrequiredThe organisation, by its slug.
application/jsonnamestringAt most 100 characters.
The new project.
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.