People and their access
GET
/api/v1/members
const url = 'http://localhost:3000/api/v1/members?in=project';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:3000/api/v1/members?in=project' \ --header 'Authorization: Bearer <token>'Everyone with a grant in the organization, with the grants you may see, and invitations still waiting. An organization admin sees every project’s grants; a project admin, the organization’s and their project’s.
Scope: admin.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”in
string
Only who can open this project, and invitations into it
Responses
Section titled “Responses”Members
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
name
required
string
email
required
string
invitations
required
Waiting to be taken
Array<object>
object
id
required
string format: uuid
email
required
string
resource
required
string
resourceId
required
string format: uuid
label
required
string | null
scope
required
string
invitedBy
required
string
expiresAt
required
string format: date-time
createdAt
required
string format: date-time
Example
{ "data": [ { "grants": [ { "resource": "organization", "scope": "read" } ] } ], "invitations": [ { "resource": "organization", "scope": "read" } ]}default
Section titled “default”An error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}