@@ -5362,6 +5362,73 @@ components:
53625362 example: _latest
53635363 type: string
53645364 type: object
5365+ AssignSeatsUserRequest:
5366+ properties:
5367+ data:
5368+ $ref: '#/components/schemas/AssignSeatsUserRequestData'
5369+ description: The data for the assign seats user request.
5370+ type: object
5371+ AssignSeatsUserRequestData:
5372+ properties:
5373+ attributes:
5374+ $ref: '#/components/schemas/AssignSeatsUserRequestDataAttributes'
5375+ description: The attributes of the assign seats user request.
5376+ id:
5377+ description: The ID of the assign seats user request.
5378+ type: string
5379+ type:
5380+ $ref: '#/components/schemas/SeatAssignmentsDataType'
5381+ description: The type of the assign seats user request.
5382+ required:
5383+ - type
5384+ type: object
5385+ AssignSeatsUserRequestDataAttributes:
5386+ properties:
5387+ product_code:
5388+ description: The product code for which to assign seats.
5389+ example: ''
5390+ type: string
5391+ user_uuids:
5392+ description: The list of user IDs to assign seats to.
5393+ example:
5394+ - ''
5395+ items:
5396+ type: string
5397+ type: array
5398+ required:
5399+ - product_code
5400+ - user_uuids
5401+ type: object
5402+ AssignSeatsUserResponse:
5403+ properties:
5404+ data:
5405+ $ref: '#/components/schemas/AssignSeatsUserResponseData'
5406+ description: The data for the assign seats user response.
5407+ type: object
5408+ AssignSeatsUserResponseData:
5409+ properties:
5410+ attributes:
5411+ $ref: '#/components/schemas/AssignSeatsUserResponseDataAttributes'
5412+ description: The attributes of the assign seats user response.
5413+ id:
5414+ description: The ID of the assign seats user response.
5415+ type: string
5416+ type:
5417+ $ref: '#/components/schemas/SeatAssignmentsDataType'
5418+ required:
5419+ - type
5420+ type: object
5421+ AssignSeatsUserResponseDataAttributes:
5422+ properties:
5423+ assigned_ids:
5424+ description: The list of user IDs to which the seats were assigned.
5425+ items:
5426+ type: string
5427+ type: array
5428+ product_code:
5429+ description: The product code for which the seats were assigned.
5430+ type: string
5431+ type: object
53655432 AttachCaseRequest:
53665433 description: Request for attaching security findings to a case.
53675434 properties:
@@ -52121,6 +52188,76 @@ components:
5212152188 - ISSUE_ASSIGNEE
5212252189 - ISSUE_CASE
5212352190 - ISSUE_TEAM_OWNERS
52191+ SeatAssignmentsDataType:
52192+ default: seat-assignments
52193+ description: Seat assignments resource type.
52194+ enum:
52195+ - seat-assignments
52196+ example: seat-assignments
52197+ type: string
52198+ x-enum-varnames:
52199+ - SEAT_ASSIGNMENTS
52200+ SeatUserData:
52201+ properties:
52202+ attributes:
52203+ $ref: '#/components/schemas/SeatUserDataAttributes'
52204+ description: The attributes of the seat user.
52205+ id:
52206+ description: The ID of the seat user.
52207+ type: string
52208+ type:
52209+ $ref: '#/components/schemas/SeatUserDataType'
52210+ required:
52211+ - type
52212+ type: object
52213+ SeatUserDataArray:
52214+ properties:
52215+ data:
52216+ description: The list of seat users.
52217+ items:
52218+ $ref: '#/components/schemas/SeatUserData'
52219+ type: array
52220+ meta:
52221+ $ref: '#/components/schemas/SeatUserMeta'
52222+ description: The metadata of the seat users.
52223+ required:
52224+ - data
52225+ type: object
52226+ SeatUserDataAttributes:
52227+ properties:
52228+ assigned_at:
52229+ description: The date and time the seat was assigned.
52230+ format: date-time
52231+ type: string
52232+ email:
52233+ description: The email of the user.
52234+ type: string
52235+ name:
52236+ description: The name of the user.
52237+ type: string
52238+ type: object
52239+ SeatUserDataType:
52240+ default: seat-users
52241+ description: Seat users resource type.
52242+ enum:
52243+ - seat-users
52244+ example: seat-users
52245+ type: string
52246+ x-enum-varnames:
52247+ - SEAT_USERS
52248+ SeatUserMeta:
52249+ properties:
52250+ cursor:
52251+ description: The cursor for the seat users.
52252+ type: string
52253+ limit:
52254+ description: The limit for the seat users.
52255+ format: int64
52256+ type: integer
52257+ next_cursor:
52258+ description: The next cursor for the seat users.
52259+ type: string
52260+ type: object
5212452261 SecretRuleArray:
5212552262 properties:
5212652263 data:
@@ -64224,6 +64361,43 @@ components:
6422464361 type: string
6422564362 x-enum-varnames:
6422664363 - AZURE_UC_CONFIGS
64364+ UnassignSeatsUserRequest:
64365+ properties:
64366+ data:
64367+ $ref: '#/components/schemas/UnassignSeatsUserRequestData'
64368+ description: The data for the unassign seats user request.
64369+ type: object
64370+ UnassignSeatsUserRequestData:
64371+ properties:
64372+ attributes:
64373+ $ref: '#/components/schemas/UnassignSeatsUserRequestDataAttributes'
64374+ description: The attributes of the unassign seats user request.
64375+ id:
64376+ description: The ID of the unassign seats user request.
64377+ type: string
64378+ type:
64379+ $ref: '#/components/schemas/SeatAssignmentsDataType'
64380+ description: The type of the unassign seats user request.
64381+ required:
64382+ - type
64383+ type: object
64384+ UnassignSeatsUserRequestDataAttributes:
64385+ properties:
64386+ product_code:
64387+ description: The product code for which to unassign seats.
64388+ example: ''
64389+ type: string
64390+ user_uuids:
64391+ description: The list of user IDs to unassign seats from.
64392+ example:
64393+ - ''
64394+ items:
64395+ type: string
64396+ type: array
64397+ required:
64398+ - product_code
64399+ - user_uuids
64400+ type: object
6422764401 Unit:
6422864402 description: Object containing the metric unit family, scale factor, name, and
6422964403 short name.
@@ -92165,6 +92339,113 @@ paths:
9216592339 x-unstable: '**Note**: This endpoint is in public beta.
9216692340
9216792341 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
92342+ /api/v2/seats/users:
92343+ delete:
92344+ description: Unassign seats from users for a product code.
92345+ operationId: UnassignSeatsUserV2
92346+ requestBody:
92347+ content:
92348+ application/json:
92349+ schema:
92350+ $ref: '#/components/schemas/UnassignSeatsUserRequest'
92351+ required: true
92352+ responses:
92353+ '204':
92354+ description: No Content
92355+ '400':
92356+ $ref: '#/components/responses/BadRequestResponse'
92357+ '422':
92358+ description: Unprocessable Entity
92359+ '429':
92360+ $ref: '#/components/responses/TooManyRequestsResponse'
92361+ '500':
92362+ description: Internal Server Error
92363+ summary: Unassign seats from users
92364+ tags:
92365+ - Seats
92366+ x-permission:
92367+ operator: OR
92368+ permissions:
92369+ - billing_edit
92370+ - incident_write
92371+ - on_call_write
92372+ get:
92373+ description: Get the list of seats users assigned to a product code.
92374+ operationId: GetSeatsUsersV2
92375+ parameters:
92376+ - description: The product code for which to retrieve seat users.
92377+ in: query
92378+ name: product_code
92379+ required: true
92380+ schema:
92381+ type: string
92382+ - description: Maximum number of results to return.
92383+ in: query
92384+ name: page[limit]
92385+ schema:
92386+ type: integer
92387+ - description: Cursor for pagination.
92388+ in: query
92389+ name: page[cursor]
92390+ schema:
92391+ type: string
92392+ responses:
92393+ '200':
92394+ content:
92395+ application/json:
92396+ schema:
92397+ $ref: '#/components/schemas/SeatUserDataArray'
92398+ description: OK
92399+ '400':
92400+ $ref: '#/components/responses/BadRequestResponse'
92401+ '422':
92402+ description: Unprocessable Entity
92403+ '429':
92404+ $ref: '#/components/responses/TooManyRequestsResponse'
92405+ '500':
92406+ description: Internal Server Error
92407+ summary: Get seats users
92408+ tags:
92409+ - Seats
92410+ x-permission:
92411+ operator: OR
92412+ permissions:
92413+ - billing_read
92414+ - incident_read
92415+ - on_call_read
92416+ post:
92417+ description: Assign seats to users for a product code.
92418+ operationId: AssignSeatsUserV2
92419+ requestBody:
92420+ content:
92421+ application/json:
92422+ schema:
92423+ $ref: '#/components/schemas/AssignSeatsUserRequest'
92424+ required: true
92425+ responses:
92426+ '201':
92427+ content:
92428+ application/json:
92429+ schema:
92430+ $ref: '#/components/schemas/AssignSeatsUserResponse'
92431+ description: Created
92432+ '400':
92433+ $ref: '#/components/responses/BadRequestResponse'
92434+ '422':
92435+ description: Unprocessable Entity
92436+ '429':
92437+ $ref: '#/components/responses/TooManyRequestsResponse'
92438+ '500':
92439+ description: Internal Server Error
92440+ summary: Assign seats to users
92441+ tags:
92442+ - Seats
92443+ x-permission:
92444+ operator: OR
92445+ permissions:
92446+ - billing_edit
92447+ - incident_write
92448+ - on_call_write
9216892449 /api/v2/security-entities/risk-scores:
9216992450 get:
9217092451 description: Get a list of entity risk scores for your organization. Entity
@@ -103298,6 +103579,9 @@ tags:
103298103579- description: Manage retention filters through [Manage Applications](https://app.datadoghq.com/rum/list)
103299103580 of RUM for your organization.
103300103581 name: Rum Retention Filters
103582+ - description: The seats API allows you to view, assign, and unassign seats for your
103583+ organization.
103584+ name: Seats
103301103585- description: Create and manage your security rules, signals, filters, and more.
103302103586 See the [Datadog Security page](https://docs.datadoghq.com/security/) for more
103303103587 information.
0 commit comments