This API returns the list of account entitlement association for entitlement type group
GEThttps://example.com/api/v1/accounts/group_memberships
This API returns the list of account entitlement association for entitlement type group
Responses​
- 200
- 400
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
countinteger
Example:
9
group_memberships
object[]
{
"count": 9,
"group_memberships": [
{
"accountID": 15553759289491,
"entitlementID": 15553798176145
},
{
"accountID": 15553759289492,
"entitlementID": 15553798176145
},
{
"accountID": 15553759289493,
"entitlementID": 15553798176145
},
{
"accountID": 15553759289491,
"entitlementID": 15553769734673
},
{
"accountID": 15553759289492,
"entitlementID": 15553769734673
},
{
"accountID": 15553759289493,
"entitlementID": 15553769734673
},
{
"accountID": 15553759289491,
"entitlementID": 15553720929041
},
{
"accountID": 15553759289492,
"entitlementID": 15553720929041
},
{
"accountID": 15553759289493,
"entitlementID": 15553720929041
}
]
}
Failure in fetching account group association
Authorization: http
name: bearerAuthtype: httpscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://example.com/api/v1/accounts/group_memberships' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'
ResponseClear