Skip to content
Luna
Esc
↑↓navigate↵open⌘Jpreview

List members

Lists the people in an organisation with the role each one holds.

GET/_luna/orgs/{org}/members
Authorization
AuthorizationBearer token · headerrequired

An account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.

Path parameters
orgstringrequired

The organisation, by its slug.

Responses
200

The organisation's members.

membersMemberItem[]required
Show properties
Array of MemberItem
idstringrequired

The member's account id.

emailstringrequired
namestringrequired
rolestring | null

owner, admin, developer, viewer or billing.

default

The request failed. The status says how and error.message says why.

errorErrorDetailrequired
Show properties
codestring | null

A code for programs to branch on, when the error has one.

messagestringrequired

What went wrong, in a sentence a person can read.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://luna.example.com/_luna/orgs/string/members' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "members": [
    {
      "id": "string",
      "email": "string",
      "name": "string",
      "role": "string"
    }
  ]
}

Was this page helpful?