@@ -5362,6 +5362,72 @@ 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+ - attributes
5385+ type: object
5386+ AssignSeatsUserRequestDataAttributes:
5387+ properties:
5388+ product_code:
5389+ description: The product code for which to assign seats.
5390+ example: ''
5391+ type: string
5392+ user_uuids:
5393+ description: The list of user IDs to assign seats to.
5394+ example:
5395+ - ''
5396+ items:
5397+ type: string
5398+ type: array
5399+ required:
5400+ - product_code
5401+ - user_uuids
5402+ type: object
5403+ AssignSeatsUserResponse:
5404+ properties:
5405+ data:
5406+ $ref: '#/components/schemas/AssignSeatsUserResponseData'
5407+ description: The data for the assign seats user response.
5408+ type: object
5409+ AssignSeatsUserResponseData:
5410+ properties:
5411+ attributes:
5412+ $ref: '#/components/schemas/AssignSeatsUserResponseDataAttributes'
5413+ description: The attributes of the assign seats user response.
5414+ id:
5415+ description: The ID of the assign seats user response.
5416+ type: string
5417+ type:
5418+ $ref: '#/components/schemas/SeatAssignmentsDataType'
5419+ type: object
5420+ AssignSeatsUserResponseDataAttributes:
5421+ properties:
5422+ assigned_ids:
5423+ description: The list of user IDs to which the seats were assigned.
5424+ items:
5425+ type: string
5426+ type: array
5427+ product_code:
5428+ description: The product code for which the seats were assigned.
5429+ type: string
5430+ type: object
53655431 AttachCaseRequest:
53665432 description: Request for attaching security findings to a case.
53675433 properties:
@@ -52255,6 +52321,80 @@ components:
5225552321 - ISSUE_ASSIGNEE
5225652322 - ISSUE_CASE
5225752323 - ISSUE_TEAM_OWNERS
52324+ SeatAssignmentsDataType:
52325+ default: seat-assignments
52326+ description: Seat assignments resource type.
52327+ enum:
52328+ - seat-assignments
52329+ example: seat-assignments
52330+ type: string
52331+ x-enum-varnames:
52332+ - SEAT_ASSIGNMENTS
52333+ SeatUserData:
52334+ properties:
52335+ attributes:
52336+ $ref: '#/components/schemas/SeatUserDataAttributes'
52337+ description: The attributes of the seat user.
52338+ id:
52339+ description: The ID of the seat user.
52340+ example: 00000000-0000-0000-0000-000000000000
52341+ nullable: true
52342+ type: string
52343+ type:
52344+ $ref: '#/components/schemas/SeatUserDataType'
52345+ type: object
52346+ SeatUserDataArray:
52347+ properties:
52348+ data:
52349+ description: The list of seat users.
52350+ items:
52351+ $ref: '#/components/schemas/SeatUserData'
52352+ type: array
52353+ meta:
52354+ $ref: '#/components/schemas/SeatUserMeta'
52355+ description: The metadata of the seat users.
52356+ type: object
52357+ SeatUserDataAttributes:
52358+ properties:
52359+ assigned_at:
52360+ description: The date and time the seat was assigned.
52361+ example: '2021-01-01T00:00:00Z'
52362+ format: date-time
52363+ nullable: true
52364+ type: string
52365+ email:
52366+ description: The email of the user.
52367+ example: user@example.com
52368+ nullable: true
52369+ type: string
52370+ name:
52371+ description: The name of the user.
52372+ example: John Doe
52373+ nullable: true
52374+ type: string
52375+ type: object
52376+ SeatUserDataType:
52377+ default: seat-users
52378+ description: Seat users resource type.
52379+ enum:
52380+ - seat-users
52381+ example: seat-users
52382+ type: string
52383+ x-enum-varnames:
52384+ - SEAT_USERS
52385+ SeatUserMeta:
52386+ properties:
52387+ cursor:
52388+ description: The cursor for the seat users.
52389+ type: string
52390+ limit:
52391+ description: The limit for the seat users.
52392+ format: int64
52393+ type: integer
52394+ next_cursor:
52395+ description: The next cursor for the seat users.
52396+ type: string
52397+ type: object
5225852398 SecretRuleArray:
5225952399 properties:
5226052400 data:
@@ -64399,6 +64539,44 @@ components:
6439964539 type: string
6440064540 x-enum-varnames:
6440164541 - AZURE_UC_CONFIGS
64542+ UnassignSeatsUserRequest:
64543+ properties:
64544+ data:
64545+ $ref: '#/components/schemas/UnassignSeatsUserRequestData'
64546+ description: The data for the unassign seats user request.
64547+ type: object
64548+ UnassignSeatsUserRequestData:
64549+ properties:
64550+ attributes:
64551+ $ref: '#/components/schemas/UnassignSeatsUserRequestDataAttributes'
64552+ description: The attributes of the unassign seats user request.
64553+ id:
64554+ description: The ID of the unassign seats user request.
64555+ type: string
64556+ type:
64557+ $ref: '#/components/schemas/SeatAssignmentsDataType'
64558+ description: The type of the unassign seats user request.
64559+ required:
64560+ - type
64561+ - attributes
64562+ type: object
64563+ UnassignSeatsUserRequestDataAttributes:
64564+ properties:
64565+ product_code:
64566+ description: The product code for which to unassign seats.
64567+ example: ''
64568+ type: string
64569+ user_uuids:
64570+ description: The list of user IDs to unassign seats from.
64571+ example:
64572+ - ''
64573+ items:
64574+ type: string
64575+ type: array
64576+ required:
64577+ - product_code
64578+ - user_uuids
64579+ type: object
6440264580 Unit:
6440364581 description: Object containing the metric unit family, scale factor, name, and
6440464582 short name.
@@ -92716,6 +92894,139 @@ paths:
9271692894 x-unstable: '**Note**: This endpoint is in public beta.
9271792895
9271892896 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
92897+ /api/v2/seats/users:
92898+ delete:
92899+ description: Unassign seats from users for a product code.
92900+ operationId: UnassignSeatsUserV2
92901+ requestBody:
92902+ content:
92903+ application/json:
92904+ schema:
92905+ $ref: '#/components/schemas/UnassignSeatsUserRequest'
92906+ required: true
92907+ responses:
92908+ '204':
92909+ description: No Content
92910+ '400':
92911+ $ref: '#/components/responses/BadRequestResponse'
92912+ '422':
92913+ content:
92914+ application/json:
92915+ schema:
92916+ $ref: '#/components/schemas/APIErrorResponse'
92917+ description: Unprocessable Entity
92918+ '429':
92919+ $ref: '#/components/responses/TooManyRequestsResponse'
92920+ '500':
92921+ content:
92922+ application/json:
92923+ schema:
92924+ $ref: '#/components/schemas/APIErrorResponse'
92925+ description: Internal Server Error
92926+ summary: Unassign seats from users
92927+ tags:
92928+ - Seats
92929+ x-permission:
92930+ operator: OR
92931+ permissions:
92932+ - billing_edit
92933+ - incident_write
92934+ - on_call_write
92935+ get:
92936+ description: Get the list of users assigned seats for a product code.
92937+ operationId: GetSeatsUsersV2
92938+ parameters:
92939+ - description: The product code for which to retrieve seat users.
92940+ in: query
92941+ name: product_code
92942+ required: true
92943+ schema:
92944+ type: string
92945+ - description: Maximum number of results to return.
92946+ in: query
92947+ name: page[limit]
92948+ required: false
92949+ schema:
92950+ type: integer
92951+ - description: Cursor for pagination.
92952+ in: query
92953+ name: page[cursor]
92954+ required: false
92955+ schema:
92956+ type: string
92957+ responses:
92958+ '200':
92959+ content:
92960+ application/json:
92961+ schema:
92962+ $ref: '#/components/schemas/SeatUserDataArray'
92963+ description: OK
92964+ '400':
92965+ $ref: '#/components/responses/BadRequestResponse'
92966+ '422':
92967+ content:
92968+ application/json:
92969+ schema:
92970+ $ref: '#/components/schemas/APIErrorResponse'
92971+ description: Unprocessable Entity
92972+ '429':
92973+ $ref: '#/components/responses/TooManyRequestsResponse'
92974+ '500':
92975+ content:
92976+ application/json:
92977+ schema:
92978+ $ref: '#/components/schemas/APIErrorResponse'
92979+ description: Internal Server Error
92980+ summary: Get users with seats
92981+ tags:
92982+ - Seats
92983+ x-permission:
92984+ operator: OR
92985+ permissions:
92986+ - billing_read
92987+ - incident_read
92988+ - on_call_read
92989+ post:
92990+ description: Assign seats to users for a product code.
92991+ operationId: AssignSeatsUserV2
92992+ requestBody:
92993+ content:
92994+ application/json:
92995+ schema:
92996+ $ref: '#/components/schemas/AssignSeatsUserRequest'
92997+ required: true
92998+ responses:
92999+ '201':
93000+ content:
93001+ application/json:
93002+ schema:
93003+ $ref: '#/components/schemas/AssignSeatsUserResponse'
93004+ description: Created
93005+ '400':
93006+ $ref: '#/components/responses/BadRequestResponse'
93007+ '422':
93008+ content:
93009+ application/json:
93010+ schema:
93011+ $ref: '#/components/schemas/APIErrorResponse'
93012+ description: Unprocessable Entity
93013+ '429':
93014+ $ref: '#/components/responses/TooManyRequestsResponse'
93015+ '500':
93016+ content:
93017+ application/json:
93018+ schema:
93019+ $ref: '#/components/schemas/APIErrorResponse'
93020+ description: Internal Server Error
93021+ summary: Assign seats to users
93022+ tags:
93023+ - Seats
93024+ x-permission:
93025+ operator: OR
93026+ permissions:
93027+ - billing_edit
93028+ - incident_write
93029+ - on_call_write
9271993030 /api/v2/security-entities/risk-scores:
9272093031 get:
9272193032 description: Get a list of entity risk scores for your organization. Entity
@@ -103849,6 +104160,9 @@ tags:
103849104160- description: Manage retention filters through [Manage Applications](https://app.datadoghq.com/rum/list)
103850104161 of RUM for your organization.
103851104162 name: Rum Retention Filters
104163+ - description: The seats API allows you to view, assign, and unassign seats for your
104164+ organization.
104165+ name: Seats
103852104166- description: Create and manage your security rules, signals, filters, and more.
103853104167 See the [Datadog Security page](https://docs.datadoghq.com/security/) for more
103854104168 information.
0 commit comments