Skip to main content

Subscriptions

SaaS: Subscriptions API (1.0.0)

Download OpenAPI specification:Download

API for interacting with SaaS Subscriptions.

Subscriptions

Get subscription insight users

Returns a collection of users for a subscription insight.

Authorizations:
bearerAuthbearerAuth
path Parameters
subscriptionId
required
string
Example: a7a75b83-2690-4cc9-b652-a0fbe93dba4a

The unique ID of the subscription.

insightRuleId
required
string
Example: 577ee610-95f2-4883-abaa-d702e73c3a10

The unique ID of the insight.

query Parameters
page_size
integer <= 1000
Default: 100

The maximum number of items in the response.

page_number
integer <int64>
Default: 1

The page number.

filter
string
Example: filter=?filter=field1 -eq "abc"

For more information on the available operators and which data types those operators work on, see Filter API call results.

sort
string
Example: sort=?sort=field1:asc

For more information on sorting capability and examples, see Sort API call results.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "pagination": {
    }
}

Delete subscription users

Removes the given one or more assigned users from a subscription.

Authorizations:
bearerAuthbearerAuth
path Parameters
subscriptionId
required
string
Example: a7a75b83-2690-4cc9-b652-a0fbe93dba4a

The unique ID of the subscription.

userIds
required
Array of arrays
Example: d69809c5-e4c0-4d22-be9f-f541f6a265ee,f90eeb4b-614b-432c-b506-4203a2db60c8

The unique ID of the of the subscriptions.

Responses

Response samples

Content type
application/json
{
  • "error": {
    }
}

Get subscription users

Returns a collection of users assigned to a subscription.

Authorizations:
bearerAuthbearerAuth
path Parameters
subscriptionId
required
string
Example: a7a75b83-2690-4cc9-b652-a0fbe93dba4a

The unique ID of the user.

query Parameters
page_size
integer <= 1000
Default: 100

The maximum number of items in the response.

page_number
integer <int64>
Default: 1

The page number.

Responses

Response samples

Content type
application/json
{
  • "pagination": {
    },
  • "items": [
    ]
}