Skip to main content
Revoke an access_token or refresh_token
curl --request POST \
  --url https://formhug.ai/api/v1/oauth/revoke \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "<string>",
  "client_secret": "<string>",
  "token": "<string>"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://formhug.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
client_id
string
required
client_secret
string
required
token
string

access_token or refresh_token to revoke

Response

Revocation accepted (regardless of whether the token existed)

The response is of type object.

Last modified on May 14, 2026