Files
api-specs/idn/v3/paths/non-employee-reject-request.yaml
GitHub Action Bot 9269e86172 Automated commit 'added new oauth2 flow and description (#1386)
* added new oauth2 flow and description

* renamed authentication to make more sense' by github action: 5967546682
2023-08-24 18:29:03 +00:00

43 lines
1.1 KiB
YAML

post:
operationId: rejectNonEmployeeRequest
security:
- UserContextAuth: []
tags:
- Non-Employee Lifecycle Management
summary: Reject a Non-Employee Request
description: >-
This endpoint will reject an approval item request and notify user. The
current user must be the requested approver.
parameters:
- in: path
name: id
description: >-
Non-Employee approval item id (UUID)
required: true
schema:
type: string
example: e136567de87e4d029e60b3c3c55db56d
requestBody:
required: true
content:
application/json:
schema:
$ref: "../schemas/non-employee/NonEmployeeRejectApprovalDecision.yaml"
responses:
"200":
description: Non-Employee approval item object.
content:
application/json:
schema:
$ref: "../schemas/non-employee/NonEmployeeApprovalItem.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"