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
{
"description": "Reject a pending elevation request. Only accessible by administrators.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "Unauthorized"
},
{
"name": "NotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"reason": {
"description": "Reason for rejection",
"maxLength": 1000,
"minLength": 10,
"type": "string"
},
"requestId": {
"description": "ID of the elevation request to reject",
"type": "string"
}
},
"required": [
"requestId",
"reason"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "#elevationResult",
"type": "ref"
}
},
"type": "procedure"
}