Onetimesecrets

Destroy a secret before it is opened

Changed on

Requires permission: IT

Drops the ciphertext. The row stays so anybody who follows the link is told it was withdrawn rather than meeting a dead page.

delete/OneTimeSecrets/{id}

Request

  • Base URL: https://api.tonbridge.school
  • URL: https://api.tonbridge.school/OneTimeSecrets/{id}
  • Auth: HTTP bearer

Path parameters

idinteger required

Response

Success

revokedboolean

Changes