Reject a pending claim with a reason. Admin only.
Input
Encoding
application/jsonclaimId
integer
Required
ID of the claim request to reject
reason
string
Required
Rejection reason
maxLength: 500 bytesminLength: 1 bytesOutput
Encoding
application/jsonsuccess
boolean
Required
Whether the rejection was successful
Errors
AuthenticationRequired
Forbidden
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": [
"claimId",
"reason"
],
"properties": {
"reason": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Rejection reason"
},
"claimId": {
"type": "integer",
"description": "ID of the claim request to reject"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "Forbidden"
},
{
"name": "NotFound"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"success"
],
"properties": {
"success": {
"type": "boolean",
"description": "Whether the rejection was successful"
}
}
},
"encoding": "application/json"
},
"description": "Reject a pending claim with a reason. Admin only."
}