keys
POST /v1/keys.revoke
Revokes every outstanding token (access and refresh) for a customer. Authenticated with your secret key. New tokens can be issued afterwards with keys.mint.
Request
- Base URLhttps://api.useautumn.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-api-versionstring required
Request body
Example request
{
"customer_id": "cus_123"
}Response
OK
Example response
{
"revoked": true
}Changes
No recorded changes to this operation across all 1 revision of this API.