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(opaque JSON object)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlimit, offsetList the Licenses allocated to Users within your Account<br /><br />Scoped OAuth requires: licenses.read<br />

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
limitintegerThe number of results per page.
offsetintegerOffset to start pagination search results.

SELECT examples​

List the Licenses allocated to Users within your Account<br /><br />Scoped OAuth requires: licenses.read<br />

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