@@ -5362,6 +5362,78 @@ 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+ required:
5371+ - data
5372+ type: object
5373+ AssignSeatsUserRequestData:
5374+ properties:
5375+ attributes:
5376+ $ref: '#/components/schemas/AssignSeatsUserRequestDataAttributes'
5377+ description: The attributes of the assign seats user request.
5378+ id:
5379+ description: The ID of the assign seats user request.
5380+ nullable: true
5381+ type: string
5382+ type:
5383+ $ref: '#/components/schemas/SeatAssignmentsDataType'
5384+ description: The type of the assign seats user request.
5385+ required:
5386+ - type
5387+ - attributes
5388+ type: object
5389+ AssignSeatsUserRequestDataAttributes:
5390+ properties:
5391+ product_code:
5392+ description: The product code for which to assign seats.
5393+ example: ''
5394+ type: string
5395+ user_uuids:
5396+ description: The list of user IDs to assign seats to.
5397+ example:
5398+ - ''
5399+ items:
5400+ type: string
5401+ type: array
5402+ required:
5403+ - product_code
5404+ - user_uuids
5405+ type: object
5406+ AssignSeatsUserResponse:
5407+ properties:
5408+ data:
5409+ $ref: '#/components/schemas/AssignSeatsUserResponseData'
5410+ description: The data for the assign seats user response.
5411+ type: object
5412+ AssignSeatsUserResponseData:
5413+ properties:
5414+ attributes:
5415+ $ref: '#/components/schemas/AssignSeatsUserResponseDataAttributes'
5416+ description: The attributes of the assign seats user response.
5417+ id:
5418+ description: The ID of the assign seats user response.
5419+ nullable: true
5420+ type: string
5421+ type:
5422+ $ref: '#/components/schemas/SeatAssignmentsDataType'
5423+ type: object
5424+ AssignSeatsUserResponseDataAttributes:
5425+ properties:
5426+ assigned_ids:
5427+ description: The list of user IDs to which the seats were assigned.
5428+ items:
5429+ type: string
5430+ nullable: true
5431+ type: array
5432+ product_code:
5433+ description: The product code for which the seats were assigned.
5434+ nullable: true
5435+ type: string
5436+ type: object
53655437 AttachCaseRequest:
53665438 description: Request for attaching security findings to a case.
53675439 properties:
@@ -52121,6 +52193,80 @@ components:
5212152193 - ISSUE_ASSIGNEE
5212252194 - ISSUE_CASE
5212352195 - ISSUE_TEAM_OWNERS
52196+ SeatAssignmentsDataType:
52197+ default: seat-assignments
52198+ description: Seat assignments resource type.
52199+ enum:
52200+ - seat-assignments
52201+ example: seat-assignments
52202+ type: string
52203+ x-enum-varnames:
52204+ - SEAT_ASSIGNMENTS
52205+ SeatUserData:
52206+ properties:
52207+ attributes:
52208+ $ref: '#/components/schemas/SeatUserDataAttributes'
52209+ description: The attributes of the seat user.
52210+ id:
52211+ description: The ID of the seat user.
52212+ nullable: true
52213+ type: string
52214+ type:
52215+ $ref: '#/components/schemas/SeatUserDataType'
52216+ type: object
52217+ SeatUserDataArray:
52218+ properties:
52219+ data:
52220+ description: The list of seat users.
52221+ items:
52222+ $ref: '#/components/schemas/SeatUserData'
52223+ nullable: true
52224+ type: array
52225+ meta:
52226+ $ref: '#/components/schemas/SeatUserMeta'
52227+ description: The metadata of the seat users.
52228+ type: object
52229+ SeatUserDataAttributes:
52230+ properties:
52231+ assigned_at:
52232+ description: The date and time the seat was assigned.
52233+ format: date-time
52234+ nullable: true
52235+ type: string
52236+ email:
52237+ description: The email of the user.
52238+ nullable: true
52239+ type: string
52240+ name:
52241+ description: The name of the user.
52242+ nullable: true
52243+ type: string
52244+ type: object
52245+ SeatUserDataType:
52246+ default: seat-users
52247+ description: Seat users resource type.
52248+ enum:
52249+ - seat-users
52250+ example: seat-users
52251+ type: string
52252+ x-enum-varnames:
52253+ - SEAT_USERS
52254+ SeatUserMeta:
52255+ properties:
52256+ cursor:
52257+ description: The cursor for the seat users.
52258+ nullable: true
52259+ type: string
52260+ limit:
52261+ description: The limit for the seat users.
52262+ format: int64
52263+ nullable: true
52264+ type: integer
52265+ next_cursor:
52266+ description: The next cursor for the seat users.
52267+ nullable: true
52268+ type: string
52269+ type: object
5212452270 SecretRuleArray:
5212552271 properties:
5212652272 data:
@@ -64224,6 +64370,45 @@ components:
6422464370 type: string
6422564371 x-enum-varnames:
6422664372 - AZURE_UC_CONFIGS
64373+ UnassignSeatsUserRequest:
64374+ properties:
64375+ data:
64376+ $ref: '#/components/schemas/UnassignSeatsUserRequestData'
64377+ description: The data for the unassign seats user request.
64378+ type: object
64379+ UnassignSeatsUserRequestData:
64380+ properties:
64381+ attributes:
64382+ $ref: '#/components/schemas/UnassignSeatsUserRequestDataAttributes'
64383+ description: The attributes of the unassign seats user request.
64384+ id:
64385+ description: The ID of the unassign seats user request.
64386+ nullable: true
64387+ type: string
64388+ type:
64389+ $ref: '#/components/schemas/SeatAssignmentsDataType'
64390+ description: The type of the unassign seats user request.
64391+ required:
64392+ - type
64393+ - attributes
64394+ type: object
64395+ UnassignSeatsUserRequestDataAttributes:
64396+ properties:
64397+ product_code:
64398+ description: The product code for which to unassign seats.
64399+ example: ''
64400+ type: string
64401+ user_uuids:
64402+ description: The list of user IDs to unassign seats from.
64403+ example:
64404+ - ''
64405+ items:
64406+ type: string
64407+ type: array
64408+ required:
64409+ - product_code
64410+ - user_uuids
64411+ type: object
6422764412 Unit:
6422864413 description: Object containing the metric unit family, scale factor, name, and
6422964414 short name.
@@ -92165,6 +92350,113 @@ paths:
9216592350 x-unstable: '**Note**: This endpoint is in public beta.
9216692351
9216792352 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
92353+ /api/v2/seats/users:
92354+ delete:
92355+ description: Unassign seats from users for a product code.
92356+ operationId: UnassignSeatsUserV2
92357+ requestBody:
92358+ content:
92359+ application/json:
92360+ schema:
92361+ $ref: '#/components/schemas/UnassignSeatsUserRequest'
92362+ required: true
92363+ responses:
92364+ '204':
92365+ description: No Content
92366+ '400':
92367+ $ref: '#/components/responses/BadRequestResponse'
92368+ '422':
92369+ description: Unprocessable Entity
92370+ '429':
92371+ $ref: '#/components/responses/TooManyRequestsResponse'
92372+ '500':
92373+ description: Internal Server Error
92374+ summary: Unassign seats from users
92375+ tags:
92376+ - Seats
92377+ x-permission:
92378+ operator: OR
92379+ permissions:
92380+ - billing_edit
92381+ - incident_write
92382+ - on_call_write
92383+ get:
92384+ description: Get the list of users assigned seats for a product code.
92385+ operationId: GetSeatsUsersV2
92386+ parameters:
92387+ - description: The product code for which to retrieve seat users.
92388+ in: query
92389+ name: product_code
92390+ required: true
92391+ schema:
92392+ type: string
92393+ - description: Maximum number of results to return.
92394+ in: query
92395+ name: page[limit]
92396+ schema:
92397+ type: integer
92398+ - description: Cursor for pagination.
92399+ in: query
92400+ name: page[cursor]
92401+ schema:
92402+ type: string
92403+ responses:
92404+ '200':
92405+ content:
92406+ application/json:
92407+ schema:
92408+ $ref: '#/components/schemas/SeatUserDataArray'
92409+ description: OK
92410+ '400':
92411+ $ref: '#/components/responses/BadRequestResponse'
92412+ '422':
92413+ description: Unprocessable Entity
92414+ '429':
92415+ $ref: '#/components/responses/TooManyRequestsResponse'
92416+ '500':
92417+ description: Internal Server Error
92418+ summary: Get users with seats
92419+ tags:
92420+ - Seats
92421+ x-permission:
92422+ operator: OR
92423+ permissions:
92424+ - billing_read
92425+ - incident_read
92426+ - on_call_read
92427+ post:
92428+ description: Assign seats to users for a product code.
92429+ operationId: AssignSeatsUserV2
92430+ requestBody:
92431+ content:
92432+ application/json:
92433+ schema:
92434+ $ref: '#/components/schemas/AssignSeatsUserRequest'
92435+ required: true
92436+ responses:
92437+ '201':
92438+ content:
92439+ application/json:
92440+ schema:
92441+ $ref: '#/components/schemas/AssignSeatsUserResponse'
92442+ description: Created
92443+ '400':
92444+ $ref: '#/components/responses/BadRequestResponse'
92445+ '422':
92446+ description: Unprocessable Entity
92447+ '429':
92448+ $ref: '#/components/responses/TooManyRequestsResponse'
92449+ '500':
92450+ description: Internal Server Error
92451+ summary: Assign seats to users
92452+ tags:
92453+ - Seats
92454+ x-permission:
92455+ operator: OR
92456+ permissions:
92457+ - billing_edit
92458+ - incident_write
92459+ - on_call_write
9216892460 /api/v2/security-entities/risk-scores:
9216992461 get:
9217092462 description: Get a list of entity risk scores for your organization. Entity
@@ -103298,6 +103590,9 @@ tags:
103298103590- description: Manage retention filters through [Manage Applications](https://app.datadoghq.com/rum/list)
103299103591 of RUM for your organization.
103300103592 name: Rum Retention Filters
103593+ - description: The seats API allows you to view, assign, and unassign seats for your
103594+ organization.
103595+ name: Seats
103301103596- description: Create and manage your security rules, signals, filters, and more.
103302103597 See the [Datadog Security page](https://docs.datadoghq.com/security/) for more
103303103598 information.
0 commit comments