Revoke approval
POST/seb-api/v1/user-requests/:id/revoke
Revoke the already approved request.
Request
Path Parameters
id stringrequired
Request ID
- application/json
Body
required
revokerComment string
Admin revoke comment
Responses
- 200
- 400
- 403
- 404
- 500
Action performed on request
- application/json
- Schema
- Example (from schema)
Schema
adminBypassTimeframe string
The timeframe for which the approval is valid
adminComment string
Admin comment
createdAt date-timerequired
Request created at
deviceId stringrequired
Device unique identifier
id stringrequired
Unique identifier
reason stringrequired
reason for request
respondedBy string
Response by
responseTime date-time
Admin response time
revokedAt date-time
Admin revoke time
revokedBy string
Revoked by
revokerComment string
Revoke comment
ruleId stringrequired
Blocking rule unique identifier
status stringrequired
Request status
type stringrequired
Request type
url stringrequired
bypassing url
userAcceptedAt date-time
User accepted response at
userId stringrequired
Request unique identifier
{
"adminBypassTimeframe": 0,
"adminComment": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"deviceId": "string",
"id": "string",
"reason": "string",
"respondedBy": "string",
"responseTime": "2024-07-29T15:51:28.071Z",
"revokedAt": "2024-07-29T15:51:28.071Z",
"revokedBy": "string",
"revokerComment": "string",
"ruleId": "string",
"status": "string",
"type": "string",
"url": "string",
"userAcceptedAt": "2024-07-29T15:51:28.071Z",
"userId": "string"
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
error_message string
{
"error_message": "string"
}
Forbidden
Request not found
Internal server error
Loading...