@@ -5383,6 +5383,72 @@ components:
53835383 example: _latest
53845384 type: string
53855385 type: object
5386+ AssignSeatsUserRequest:
5387+ properties:
5388+ data:
5389+ $ref: '#/components/schemas/AssignSeatsUserRequestData'
5390+ description: The data for the assign seats user request.
5391+ type: object
5392+ AssignSeatsUserRequestData:
5393+ properties:
5394+ attributes:
5395+ $ref: '#/components/schemas/AssignSeatsUserRequestDataAttributes'
5396+ description: The attributes of the assign seats user request.
5397+ id:
5398+ description: The ID of the assign seats user request.
5399+ type: string
5400+ type:
5401+ $ref: '#/components/schemas/SeatAssignmentsDataType'
5402+ description: The type of the assign seats user request.
5403+ required:
5404+ - type
5405+ - attributes
5406+ type: object
5407+ AssignSeatsUserRequestDataAttributes:
5408+ properties:
5409+ product_code:
5410+ description: The product code for which to assign seats.
5411+ example: ''
5412+ type: string
5413+ user_uuids:
5414+ description: The list of user IDs to assign seats to.
5415+ example:
5416+ - ''
5417+ items:
5418+ type: string
5419+ type: array
5420+ required:
5421+ - product_code
5422+ - user_uuids
5423+ type: object
5424+ AssignSeatsUserResponse:
5425+ properties:
5426+ data:
5427+ $ref: '#/components/schemas/AssignSeatsUserResponseData'
5428+ description: The data for the assign seats user response.
5429+ type: object
5430+ AssignSeatsUserResponseData:
5431+ properties:
5432+ attributes:
5433+ $ref: '#/components/schemas/AssignSeatsUserResponseDataAttributes'
5434+ description: The attributes of the assign seats user response.
5435+ id:
5436+ description: The ID of the assign seats user response.
5437+ type: string
5438+ type:
5439+ $ref: '#/components/schemas/SeatAssignmentsDataType'
5440+ type: object
5441+ AssignSeatsUserResponseDataAttributes:
5442+ properties:
5443+ assigned_ids:
5444+ description: The list of user IDs to which the seats were assigned.
5445+ items:
5446+ type: string
5447+ type: array
5448+ product_code:
5449+ description: The product code for which the seats were assigned.
5450+ type: string
5451+ type: object
53865452 AttachCaseRequest:
53875453 description: Request for attaching security findings to a case.
53885454 properties:
@@ -40874,6 +40940,8 @@ components:
4087440940 type: integer
4087540941 type:
4087640942 $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
40943+ when_full:
40944+ $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull'
4087740945 type: object
4087840946 ObservabilityPipelineMemoryBufferSizeOptions:
4087940947 description: Options for configuring a memory buffer by queue length.
@@ -40885,6 +40953,8 @@ components:
4088540953 type: integer
4088640954 type:
4088740955 $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
40956+ when_full:
40957+ $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull'
4088840958 type: object
4088940959 ObservabilityPipelineMetadataEntry:
4089040960 description: A custom metadata entry.
@@ -52296,6 +52366,80 @@ components:
5229652366 - ISSUE_ASSIGNEE
5229752367 - ISSUE_CASE
5229852368 - ISSUE_TEAM_OWNERS
52369+ SeatAssignmentsDataType:
52370+ default: seat-assignments
52371+ description: Seat assignments resource type.
52372+ enum:
52373+ - seat-assignments
52374+ example: seat-assignments
52375+ type: string
52376+ x-enum-varnames:
52377+ - SEAT_ASSIGNMENTS
52378+ SeatUserData:
52379+ properties:
52380+ attributes:
52381+ $ref: '#/components/schemas/SeatUserDataAttributes'
52382+ description: The attributes of the seat user.
52383+ id:
52384+ description: The ID of the seat user.
52385+ example: 00000000-0000-0000-0000-000000000000
52386+ nullable: true
52387+ type: string
52388+ type:
52389+ $ref: '#/components/schemas/SeatUserDataType'
52390+ type: object
52391+ SeatUserDataArray:
52392+ properties:
52393+ data:
52394+ description: The list of seat users.
52395+ items:
52396+ $ref: '#/components/schemas/SeatUserData'
52397+ type: array
52398+ meta:
52399+ $ref: '#/components/schemas/SeatUserMeta'
52400+ description: The metadata of the seat users.
52401+ type: object
52402+ SeatUserDataAttributes:
52403+ properties:
52404+ assigned_at:
52405+ description: The date and time the seat was assigned.
52406+ example: '2021-01-01T00:00:00Z'
52407+ format: date-time
52408+ nullable: true
52409+ type: string
52410+ email:
52411+ description: The email of the user.
52412+ example: user@example.com
52413+ nullable: true
52414+ type: string
52415+ name:
52416+ description: The name of the user.
52417+ example: John Doe
52418+ nullable: true
52419+ type: string
52420+ type: object
52421+ SeatUserDataType:
52422+ default: seat-users
52423+ description: Seat users resource type.
52424+ enum:
52425+ - seat-users
52426+ example: seat-users
52427+ type: string
52428+ x-enum-varnames:
52429+ - SEAT_USERS
52430+ SeatUserMeta:
52431+ properties:
52432+ cursor:
52433+ description: The cursor for the seat users.
52434+ type: string
52435+ limit:
52436+ description: The limit for the seat users.
52437+ format: int64
52438+ type: integer
52439+ next_cursor:
52440+ description: The next cursor for the seat users.
52441+ type: string
52442+ type: object
5229952443 SecretRuleArray:
5230052444 properties:
5230152445 data:
@@ -64440,6 +64584,44 @@ components:
6444064584 type: string
6444164585 x-enum-varnames:
6444264586 - AZURE_UC_CONFIGS
64587+ UnassignSeatsUserRequest:
64588+ properties:
64589+ data:
64590+ $ref: '#/components/schemas/UnassignSeatsUserRequestData'
64591+ description: The data for the unassign seats user request.
64592+ type: object
64593+ UnassignSeatsUserRequestData:
64594+ properties:
64595+ attributes:
64596+ $ref: '#/components/schemas/UnassignSeatsUserRequestDataAttributes'
64597+ description: The attributes of the unassign seats user request.
64598+ id:
64599+ description: The ID of the unassign seats user request.
64600+ type: string
64601+ type:
64602+ $ref: '#/components/schemas/SeatAssignmentsDataType'
64603+ description: The type of the unassign seats user request.
64604+ required:
64605+ - type
64606+ - attributes
64607+ type: object
64608+ UnassignSeatsUserRequestDataAttributes:
64609+ properties:
64610+ product_code:
64611+ description: The product code for which to unassign seats.
64612+ example: ''
64613+ type: string
64614+ user_uuids:
64615+ description: The list of user IDs to unassign seats from.
64616+ example:
64617+ - ''
64618+ items:
64619+ type: string
64620+ type: array
64621+ required:
64622+ - product_code
64623+ - user_uuids
64624+ type: object
6444364625 Unit:
6444464626 description: Object containing the metric unit family, scale factor, name, and
6444564627 short name.
@@ -92758,6 +92940,121 @@ paths:
9275892940 x-unstable: '**Note**: This endpoint is in public beta.
9275992941
9276092942 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
92943+ /api/v2/seats/users:
92944+ delete:
92945+ description: Unassign seats from users for a product code.
92946+ operationId: UnassignSeatsUser
92947+ requestBody:
92948+ content:
92949+ application/json:
92950+ schema:
92951+ $ref: '#/components/schemas/UnassignSeatsUserRequest'
92952+ required: true
92953+ responses:
92954+ '204':
92955+ description: No Content
92956+ '400':
92957+ $ref: '#/components/responses/BadRequestResponse'
92958+ '422':
92959+ content:
92960+ application/json:
92961+ schema:
92962+ $ref: '#/components/schemas/APIErrorResponse'
92963+ description: Unprocessable Entity
92964+ '429':
92965+ $ref: '#/components/responses/TooManyRequestsResponse'
92966+ summary: Unassign seats from users
92967+ tags:
92968+ - Seats
92969+ x-permission:
92970+ operator: OR
92971+ permissions:
92972+ - billing_edit
92973+ - incident_write
92974+ - on_call_write
92975+ get:
92976+ description: Get the list of users assigned seats for a product code.
92977+ operationId: GetSeatsUsers
92978+ parameters:
92979+ - description: The product code for which to retrieve seat users.
92980+ in: query
92981+ name: product_code
92982+ required: true
92983+ schema:
92984+ type: string
92985+ - description: Maximum number of results to return.
92986+ in: query
92987+ name: page[limit]
92988+ required: false
92989+ schema:
92990+ type: integer
92991+ - description: Cursor for pagination.
92992+ in: query
92993+ name: page[cursor]
92994+ required: false
92995+ schema:
92996+ type: string
92997+ responses:
92998+ '200':
92999+ content:
93000+ application/json:
93001+ schema:
93002+ $ref: '#/components/schemas/SeatUserDataArray'
93003+ description: OK
93004+ '400':
93005+ $ref: '#/components/responses/BadRequestResponse'
93006+ '422':
93007+ content:
93008+ application/json:
93009+ schema:
93010+ $ref: '#/components/schemas/APIErrorResponse'
93011+ description: Unprocessable Entity
93012+ '429':
93013+ $ref: '#/components/responses/TooManyRequestsResponse'
93014+ summary: Get users with seats
93015+ tags:
93016+ - Seats
93017+ x-permission:
93018+ operator: OR
93019+ permissions:
93020+ - billing_read
93021+ - incident_read
93022+ - on_call_read
93023+ post:
93024+ description: Assign seats to users for a product code.
93025+ operationId: AssignSeatsUser
93026+ requestBody:
93027+ content:
93028+ application/json:
93029+ schema:
93030+ $ref: '#/components/schemas/AssignSeatsUserRequest'
93031+ required: true
93032+ responses:
93033+ '201':
93034+ content:
93035+ application/json:
93036+ schema:
93037+ $ref: '#/components/schemas/AssignSeatsUserResponse'
93038+ description: Created
93039+ '400':
93040+ $ref: '#/components/responses/BadRequestResponse'
93041+ '422':
93042+ content:
93043+ application/json:
93044+ schema:
93045+ $ref: '#/components/schemas/APIErrorResponse'
93046+ description: Unprocessable Entity
93047+ '429':
93048+ $ref: '#/components/responses/TooManyRequestsResponse'
93049+ summary: Assign seats to users
93050+ tags:
93051+ - Seats
93052+ x-permission:
93053+ operator: OR
93054+ permissions:
93055+ - billing_edit
93056+ - incident_write
93057+ - on_call_write
9276193058 /api/v2/security-entities/risk-scores:
9276293059 get:
9276393060 description: Get a list of entity risk scores for your organization. Entity
@@ -103891,6 +104188,9 @@ tags:
103891104188- description: Manage retention filters through [Manage Applications](https://app.datadoghq.com/rum/list)
103892104189 of RUM for your organization.
103893104190 name: Rum Retention Filters
104191+ - description: The seats API allows you to view, assign, and unassign seats for your
104192+ organization.
104193+ name: Seats
103894104194- description: Create and manage your security rules, signals, filters, and more.
103895104195 See the [Datadog Security page](https://docs.datadoghq.com/security/) for more
103896104196 information.
0 commit comments