Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242886,6 +242886,12 @@ paths:
get:
description: |-
Get the list of users assigned seats for a product code.

This endpoint requires the `user_access_read` (User Access Read) permission
in addition to at least one of `billing_read`, `incident_read`, or `on_call_read`.
Scoped application keys, personal access tokens, and service access tokens
must include the `user_access_read` scope. Credentials without this scope
receive a `403 Forbidden` response.
operationId: GetSeatsUsers
parameters:
- description: The product code for which to retrieve seat users.
Expand Down Expand Up @@ -242926,6 +242932,8 @@ paths:
description: OK
"400":
$ref: "#/components/responses/BadRequestResponse"
"403":
$ref: "#/components/responses/ForbiddenResponse"
"422":
content:
application/json:
Expand All @@ -242934,6 +242942,11 @@ paths:
description: Unprocessable Entity
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- user_access_read
summary: Get users with seats
tags:
- Seats
Expand Down
6 changes: 6 additions & 0 deletions src/datadog_api_client/v2/api/seats_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ def get_seats_users(

Get the list of users assigned seats for a product code.

This endpoint requires the ``user_access_read`` (User Access Read) permission
in addition to at least one of ``billing_read`` , ``incident_read`` , or ``on_call_read``.
Scoped application keys, personal access tokens, and service access tokens
must include the ``user_access_read`` scope. Credentials without this scope
receive a ``403 Forbidden`` response.

:param product_code: The product code for which to retrieve seat users.
:type product_code: str
:param page_limit: Maximum number of results to return.
Expand Down
Loading