Get user memberships within an organization
GET
/api/v1/organizations/{organizationId}/members/{userId}/memberships
const
url
=
'
https://localhost:8080/api/v1/organizations/example/members/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/members/example/memberships
\
--header
'
Authorization:
'
Return a user’s organization membership and their project assignments scoped to the organization
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”
organizationId
required
string
Organization ID (integer)
userId
required
string
User ID
Responses
Section titled “ Responses ”User memberships
Media type
application/json
object
email
string
invitedAt
string
invitedBy
string
joinedAt
string
lastLoginAt
string
name
string
pictureUrl
string
projects
Array