List memberships for all users in an organization
GET
/api/v1/organizations/{organizationId}/memberships
const
url
=
'
https://localhost:8080/api/v1/organizations/example/memberships
'
;
const
options
= {method:
'
GET
'
, headers: {Authorization:
'
'
}}
;
try
{
const
response
= await
fetch
(url
,
options);
const
data
= await
response
.
json
();
console
.
log
(data);
}
catch
(error) {
console
.
error
(error);
}
curl
--request
GET
\
--url
https://localhost:8080/api/v1/organizations/example/memberships
\
--header
'
Authorization:
'
Return every member’s organization role and their project assignments within the organization, ordered by most recent join
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”
organizationId
required
string
Organization ID (integer)
Responses
Section titled “ Responses ”Users’ memberships
Media type
application/json
object
organizationId
integer
users
Array