API referenceModeration
Lift a timeout or ban; the case stops counting.
POST
/api/v1/servers/{guild}/cases/{number}/revokeAuthorization
session invarn_session<token>
In: cookie
Path Parameters
guild*string
A Discord ID (or one of Invarn's, which look the same).
Match
^[0-9]+$number*integer
Format
int32Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/servers/string/cases/0/revoke"{ "guild": "string", "number": 0, "action": "warn", "target": "string", "targetName": "string", "moderator": "string", "moderatorName": "string", "reason": "string", "status": "pending", "expiresAt": "2019-08-24T14:15:22Z", "logChannel": "string", "logMessage": "string", "createdAt": "2019-08-24T14:15:22Z"}