diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 7a9926c3d3..c0368d657d 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -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. @@ -242926,6 +242932,8 @@ paths: description: OK "400": $ref: "#/components/responses/BadRequestResponse" + "403": + $ref: "#/components/responses/ForbiddenResponse" "422": content: application/json: @@ -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 diff --git a/src/datadog_api_client/v2/api/seats_api.py b/src/datadog_api_client/v2/api/seats_api.py index 3de9b4336f..2b979ad972 100644 --- a/src/datadog_api_client/v2/api/seats_api.py +++ b/src/datadog_api_client/v2/api/seats_api.py @@ -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.