Revoke Leaked Key
Revoke an API key by submitting its secret. Use this when you find a Serval API key secret somewhere it shouldn’t be, such as a public repository, a log file, or a chat message. No authentication is required, so anyone who finds a leaked secret can take it out of service immediately.
Serval API key secrets start with svl_secret_ and end in a checksum, so a secret scanner
can match them with the pattern svl_secret_(pk|wk|mk)_[0-9A-Za-z]{49}.
Revoking a key stops it from creating new access tokens and ends the sessions of tokens it already created. Revocation can’t be undone. To keep using the API, create a new key from the API Settings page.
Example Request
Response
The response is 200 OK with an empty body whether the secret matched a live key, a key
that was already revoked, or nothing at all. The endpoint deliberately doesn’t reveal
whether a secret was valid.

