API reference · Keys
Revoke this key
DELETE
https://payday.direct/api/v1/keys/selfSwitches off the key sent in the header. The only way to revoke a key made without a sign-in, and the quickest for any key that leaked.
Needs an API key in Authorization: Bearer or X-API-Key. Authentication
Responses
200Revoked
401No key, or not a valid key
Response fields
revokedstring