Create an organisation
Creates an organisation and makes your account its owner. Luna makes the slug from the name. Answers 409 when you are already in an organisation of that name. Another account can have one of the same name. An API key cannot do this.
POST
/_luna/orgsAuthorization
AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
Request body
requiredapplication/jsonnamestringAt most 100 characters.
Responses
200
The new organisation.
idstringrequiredslugstringrequiredThe name paths use for it. Luna makes it from the name.
namestringrequiredcreatedMsinteger<int64>requiredmin 0
default
The 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.