license_allocations
Creates, updates, deletes, gets or lists a license_allocations resource.
Overview
| Name | license_allocations |
| Type | Resource |
| Id | pagerduty.licenses.license_allocations |
Fields
The following fields are returned by SELECT queries:
- list_license_allocations
License allocations to Users within your Account
| Name | Datatype | Description |
|---|---|---|
allocated_at | string (date-time) | Indicates the date and time the License was allocated to the User |
license | object | |
user | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_license_allocations | select | Accept, Content-Type, limit, offset | List the Licenses allocated to Users within your Account Scoped OAuth requires: licenses.read | |
_list_license_allocations | exec | Accept, Content-Type, limit, offset | List 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.
| Name | Datatype | Description |
|---|---|---|
Accept | string | The Accept header is used as a versioning header. |
Content-Type | string | |
limit | integer | The number of results per page. |
offset | integer | Offset to start pagination search results. |
SELECT examples
- list_license_allocations
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_license_allocations
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 }}'
;