@@ -35189,6 +35189,49 @@ components:
3518935189 - ms_channel_name
3519035190 - redirect_url
3519135191 type: object
35192+ MaxSessionDurationUpdateAttributes:
35193+ description: Attributes for updating maximum session duration.
35194+ properties:
35195+ max_session_duration:
35196+ description: 'Maximum session duration in seconds. Must not exceed 30 days
35197+ (2592000 seconds).
35198+
35199+ Note: Government cloud environments are limited to 24 hours (86400 seconds).'
35200+ example: 60
35201+ format: int64
35202+ maximum: 2592000
35203+ minimum: 1
35204+ type: integer
35205+ required:
35206+ - max_session_duration
35207+ type: object
35208+ MaxSessionDurationUpdateRequest:
35209+ description: Request to update the maximum session duration.
35210+ properties:
35211+ data:
35212+ $ref: '#/components/schemas/MaxSessionDurationUpdateRequestData'
35213+ required:
35214+ - data
35215+ type: object
35216+ MaxSessionDurationUpdateRequestData:
35217+ description: Data wrapper for maximum session duration update.
35218+ properties:
35219+ attributes:
35220+ $ref: '#/components/schemas/MaxSessionDurationUpdateAttributes'
35221+ type:
35222+ $ref: '#/components/schemas/MaxSessionDurationUpdateRequestDataType'
35223+ required:
35224+ - type
35225+ - attributes
35226+ type: object
35227+ MaxSessionDurationUpdateRequestDataType:
35228+ description: Type of the resource.
35229+ enum:
35230+ - max_session_duration
35231+ example: max_session_duration
35232+ type: string
35233+ x-enum-varnames:
35234+ - MAX_SESSION_DURATION
3519235235 MemberTeam:
3519335236 description: A member team
3519435237 properties:
@@ -51260,6 +51303,65 @@ components:
5126051303 example: report_id
5126151304 type: string
5126251305 type: object
51306+ SamlConfigurationsUpdateAttributes:
51307+ description: Attributes for updating SAML preferences.
51308+ properties:
51309+ default_role_uuids:
51310+ description: List of role UUIDs to assign to JIT-provisioned users. Exactly
51311+ 1 role is required.
51312+ example:
51313+ - 19fcc38b-b651-46a0-b463-1f8f56c6a862
51314+ items:
51315+ format: uuid
51316+ type: string
51317+ maxItems: 1
51318+ minItems: 1
51319+ type: array
51320+ jit_domains:
51321+ description: 'List of domains for Just-In-Time user provisioning. Maximum
51322+ 50 domains.
51323+
51324+ Each domain must be between 1 and 256 characters.'
51325+ example:
51326+ - example1.com
51327+ - example2.com
51328+ items:
51329+ maxLength: 256
51330+ minLength: 1
51331+ type: string
51332+ maxItems: 50
51333+ type: array
51334+ required:
51335+ - jit_domains
51336+ - default_role_uuids
51337+ type: object
51338+ SamlConfigurationsUpdateRequest:
51339+ description: Request to update organization SAML preferences.
51340+ properties:
51341+ data:
51342+ $ref: '#/components/schemas/SamlConfigurationsUpdateRequestData'
51343+ required:
51344+ - data
51345+ type: object
51346+ SamlConfigurationsUpdateRequestData:
51347+ description: Data wrapper for SAML preferences update.
51348+ properties:
51349+ attributes:
51350+ $ref: '#/components/schemas/SamlConfigurationsUpdateAttributes'
51351+ type:
51352+ $ref: '#/components/schemas/SamlConfigurationsUpdateRequestDataType'
51353+ required:
51354+ - type
51355+ - attributes
51356+ type: object
51357+ SamlConfigurationsUpdateRequestDataType:
51358+ description: Type of the resource.
51359+ enum:
51360+ - saml_preferences
51361+ example: saml_preferences
51362+ type: string
51363+ x-enum-varnames:
51364+ - SAML_PREFERENCES
5126351365 ScaRequest:
5126451366 properties:
5126551367 data:
@@ -82887,6 +82989,61 @@ paths:
8288782989 operator: OR
8288882990 permissions:
8288982991 - org_management
82992+ /api/v2/login/org_configs/max_session_duration:
82993+ put:
82994+ description: 'Updates the maximum session duration for an organization. This
82995+ controls how long user sessions
82996+
82997+ can remain active before requiring re-authentication. The value must not exceed
82998+ 30 days (2592000 seconds).
82999+
83000+ Note: Government cloud environments are limited to 24 hours (86400 seconds).
83001+
83002+
83003+ Requires `org_management` permission and a session that has been active within
83004+ the last 12 hours.'
83005+ operationId: UpdateLoginOrgConfigMaxSessionDuration
83006+ requestBody:
83007+ content:
83008+ application/json:
83009+ schema:
83010+ $ref: '#/components/schemas/MaxSessionDurationUpdateRequest'
83011+ required: true
83012+ responses:
83013+ '204':
83014+ description: No Content - The maximum session duration was successfully
83015+ updated.
83016+ '400':
83017+ content:
83018+ application/json:
83019+ schema:
83020+ $ref: '#/components/schemas/JSONAPIErrorResponse'
83021+ description: Bad Request
83022+ '401':
83023+ content:
83024+ application/json:
83025+ schema:
83026+ $ref: '#/components/schemas/JSONAPIErrorResponse'
83027+ description: Unauthorized
83028+ '403':
83029+ content:
83030+ application/json:
83031+ schema:
83032+ $ref: '#/components/schemas/JSONAPIErrorResponse'
83033+ description: Forbidden
83034+ '429':
83035+ $ref: '#/components/responses/TooManyRequestsResponse'
83036+ '500':
83037+ content:
83038+ application/json:
83039+ schema:
83040+ $ref: '#/components/schemas/JSONAPIErrorResponse'
83041+ description: Internal Server Error
83042+ summary: Update maximum session duration
83043+ tags:
83044+ - Organizations
83045+ x-unstable: This endpoint is in public beta. If you have any feedback, contact
83046+ [Datadog support](https://docs.datadoghq.com/help/).
8289083047 /api/v2/logs:
8289183048 post:
8289283049 description: 'Send your logs to your Datadog platform over HTTP. Limits per
@@ -87801,6 +87958,64 @@ paths:
8780187958 operator: OR
8780287959 permissions:
8780387960 - on_call_read
87961+ /api/v2/org/saml_configurations:
87962+ patch:
87963+ description: 'Updates SAML preferences for an organization, including JIT provisioning
87964+ domains and default role assignments.
87965+
87966+
87967+ This endpoint allows you to configure:
87968+
87969+ - `jit_domains`: List of domains for Just-In-Time user provisioning (up to
87970+ 50 domains, 1-256 characters each)
87971+
87972+ - `default_role_uuids`: List of role UUIDs to assign to JIT-provisioned users
87973+ (exactly 1 role required)
87974+
87975+
87976+ Requires `org_management` permission. This endpoint is gated by the `org-saml-preferences-api-gate`
87977+ experiment.'
87978+ operationId: UpdateOrgSamlConfigurations
87979+ requestBody:
87980+ content:
87981+ application/json:
87982+ schema:
87983+ $ref: '#/components/schemas/SamlConfigurationsUpdateRequest'
87984+ required: true
87985+ responses:
87986+ '204':
87987+ description: No Content - The SAML preferences were successfully updated.
87988+ '400':
87989+ content:
87990+ application/json:
87991+ schema:
87992+ $ref: '#/components/schemas/JSONAPIErrorResponse'
87993+ description: Bad Request
87994+ '401':
87995+ content:
87996+ application/json:
87997+ schema:
87998+ $ref: '#/components/schemas/JSONAPIErrorResponse'
87999+ description: Unauthorized
88000+ '403':
88001+ content:
88002+ application/json:
88003+ schema:
88004+ $ref: '#/components/schemas/JSONAPIErrorResponse'
88005+ description: Forbidden
88006+ '429':
88007+ $ref: '#/components/responses/TooManyRequestsResponse'
88008+ '500':
88009+ content:
88010+ application/json:
88011+ schema:
88012+ $ref: '#/components/schemas/JSONAPIErrorResponse'
88013+ description: Internal Server Error
88014+ summary: Update organization SAML preferences
88015+ tags:
88016+ - Organizations
88017+ x-unstable: This endpoint is in public beta. If you have any feedback, contact
88018+ [Datadog support](https://docs.datadoghq.com/help/).
8780488019 /api/v2/org_configs:
8780588020 get:
8780688021 description: Returns all Org Configs (name, description, and value).
0 commit comments