Delete a rotated secret key

DELETE 

/v2/keysets/:keysetId/secret-keys/:secretKeyPrefix

Deletes a rotated secret key.

Requirements:

  • Secret key prefix must be in format sec-c-{5chars} (exactly 5 alphanumeric characters)
  • Requested secret key must already have expiration date

Request

Example
{
  "success": false
}
Example
{
  "statusCode": 0,
  "error": "BadRequest",
  "message": [
    "string"
  ]
}
Example
{
  "statusCode": 0,
  "error": "Unauthorized",
  "message": [
    "string"
  ]
}
Example
{
  "statusCode": 0,
  "error": "Forbidden",
  "message": [
    "string"
  ]
}
Example
{
  "statusCode": 0,
  "error": "NotFound",
  "message": [
    "string"
  ]
}
Example
{
  "statusCode": 0,
  "error": "InternalError",
  "message": [
    "string"
  ]
}