mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-09 20:37:50 +00:00
* ISCARP-12339 - Add scope info to access-request endpoints * ISCARP-123339 - Linting fix for put method name in operationId' by github action: 6487149128
61 lines
1.6 KiB
YAML
61 lines
1.6 KiB
YAML
get:
|
|
operationId: getAccessRequestConfig
|
|
security:
|
|
- UserContextAuth: [ idn:access-request-config:read ]
|
|
summary: Get Access Request Configuration
|
|
tags:
|
|
- Access Requests
|
|
description: >-
|
|
This endpoint returns the current access-request configuration.
|
|
responses:
|
|
'200':
|
|
description: Access Request Configuration Details.
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/AccessRequestConfig.yaml'
|
|
'400':
|
|
$ref: '../responses/400.yaml'
|
|
'401':
|
|
$ref: '../responses/401.yaml'
|
|
'403':
|
|
$ref: '../responses/403.yaml'
|
|
'429':
|
|
$ref: '../responses/429.yaml'
|
|
'500':
|
|
$ref: '../responses/500.yaml'
|
|
|
|
put:
|
|
operationId: setAccessRequestConfig
|
|
security:
|
|
- UserContextAuth: [ idn:access-request-config:update ]
|
|
summary: Update Access Request Configuration
|
|
tags:
|
|
- Access Requests
|
|
description: >-
|
|
This endpoint replaces the current access-request configuration.
|
|
|
|
A token with ORG_ADMIN authority is required to call this API.
|
|
requestBody:
|
|
required: true
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/AccessRequestConfig.yaml'
|
|
responses:
|
|
'200':
|
|
description: Access Request Configuration Details.
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/AccessRequestConfig.yaml'
|
|
'400':
|
|
$ref: '../responses/400.yaml'
|
|
'401':
|
|
$ref: '../responses/401.yaml'
|
|
'403':
|
|
$ref: '../responses/403.yaml'
|
|
'429':
|
|
$ref: '../responses/429.yaml'
|
|
'500':
|
|
$ref: '../responses/500.yaml' |