Skip to main content

license_allocations

Creates, updates, deletes, gets or lists a license_allocations resource.

Overview

Namelicense_allocations
TypeResource
Idpagerduty.licenses.license_allocations

Fields

The following fields are returned by SELECT queries:

License allocations to Users within your Account

NameDatatypeDescription
allocated_atstring (date-time)Indicates the date and time the License was allocated to the User
licenseobject
userobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_license_allocationsselectAccept, Content-Type, limit, offsetList the Licenses allocated to Users within your Account

Scoped OAuth requires: licenses.read
_list_license_allocationsexecAccept, Content-Type, limit, offsetList the Licenses allocated to Users within your Account

Scoped OAuth requires: licenses.read

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
AcceptstringThe Accept header is used as a versioning header.
Content-Typestring
limitintegerThe number of results per page.
offsetintegerOffset to start pagination search results.

SELECT examples

List the Licenses allocated to Users within your Account

Scoped OAuth requires: licenses.read

SELECT
allocated_at,
license,
user
FROM pagerduty.licenses.license_allocations
WHERE Accept = '{{ Accept }}'
AND Content-Type = '{{ Content-Type }}'
AND limit = '{{ limit }}'
AND offset = '{{ offset }}'
;

Lifecycle Methods

List the Licenses allocated to Users within your Account

Scoped OAuth requires: licenses.read

EXEC pagerduty.licenses.license_allocations._list_license_allocations 
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}',
@limit='{{ limit }}',
@offset='{{ offset }}'
;