Remove a member
Removes a member from an organisation. You can remove yourself without the permission. Only an owner can remove an owner.
DELETE
/_luna/orgs/{org}/members/{account}Authorization
AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
Scopes:
members:writePath parameters
orgstringrequiredThe organisation, by its slug.
accountstringrequiredThe member's account id.
Responses
200
The member is removed.
okbooleanrequiredAlways true.
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.