SubscriptionGroups
SubscriptionGroups
GetGroupsList
returns groups of the subscription or subscription user
Request
GET /api/manage/v1/Subscriptions/{subscriptionId}/groups[?userId]
Parameters
Name | Type | Value | Notes |
---|---|---|---|
*subscriptionId | string | subscripiton id |
|
userId | string | user Id (optional) |
Responses
Status Code | Description | Samples |
---|---|---|
200 | Everything is all right (list of groups may be empty) |
|
400 | id is not hex24 |
|
403 | You don't have permisison to get groups from this subscription (or in your default (1st) subscription) |
|
404 | there is no subscription with provided id found, or user don't even have a subscription |