mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-10 04:19:19 +00:00
* added new oauth2 flow and description * renamed authentication to make more sense' by github action: 5967546682
61 lines
1.8 KiB
YAML
61 lines
1.8 KiB
YAML
get:
|
|
operationId: getTenantConfigConfiguration
|
|
tags:
|
|
- Work Reassignment
|
|
summary: Get Tenant-wide Reassignment Configuration settings
|
|
description: >-
|
|
Gets the global Reassignment Configuration settings for the requestor's tenant.
|
|
security:
|
|
- UserContextAuth: [idn:reassignment-tenant-configuration:read]
|
|
responses:
|
|
'200':
|
|
description: Tenant-wide Reassignment Configuration settings
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/work-reassignment/TenantConfigurationResponse.yaml'
|
|
'400':
|
|
$ref: '../../v3/responses/400.yaml'
|
|
'401':
|
|
$ref: '../../v3/responses/401.yaml'
|
|
'403':
|
|
$ref: '../../v3/responses/403.yaml'
|
|
'404':
|
|
$ref: '../../v3/responses/404.yaml'
|
|
'429':
|
|
$ref: '../../v3/responses/429.yaml'
|
|
'500':
|
|
$ref: '../../v3/responses/500.yaml'
|
|
put:
|
|
operationId: putTenantConfiguration
|
|
tags:
|
|
- Work Reassignment
|
|
summary: Update Tenant-wide Reassignment Configuration settings
|
|
description: >-
|
|
Replaces existing Tenant-wide Reassignment Configuration settings with the newly provided settings.
|
|
security:
|
|
- UserContextAuth: [idn:reassignment-tenant-configuration:update]
|
|
requestBody:
|
|
required: true
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/work-reassignment/TenantConfigurationRequest.yaml'
|
|
responses:
|
|
'200':
|
|
description: Tenant-wide Reassignment Configuration settings
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/work-reassignment/TenantConfigurationResponse.yaml'
|
|
'400':
|
|
$ref: '../../v3/responses/400.yaml'
|
|
'401':
|
|
$ref: '../../v3/responses/401.yaml'
|
|
'403':
|
|
$ref: '../../v3/responses/403.yaml'
|
|
'429':
|
|
$ref: '../../v3/responses/429.yaml'
|
|
'500':
|
|
$ref: '../../v3/responses/500.yaml'
|