Reject a pending elevation request. Only accessible by administrators.
Input
Encoding
application/jsonreason
string
Required
Reason for rejection
maxLength: 1000 bytesminLength: 10 bytesrequestId
string
Required
ID of the elevation request to reject
Output
Encoding
application/jsonSchema#elevationResult
Errors
AuthenticationRequired
Unauthorized
NotFound
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"requestId",
"reason"
],
"properties": {
"reason": {
"type": "string",
"maxLength": 1000,
"minLength": 10,
"description": "Reason for rejection"
},
"requestId": {
"type": "string",
"description": "ID of the elevation request to reject"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "Unauthorized"
},
{
"name": "NotFound"
}
],
"output": {
"schema": {
"ref": "#elevationResult",
"type": "ref"
},
"encoding": "application/json"
},
"description": "Reject a pending elevation request. Only accessible by administrators."
}