Skip to content
ProductBlogOpen console
API

Revoke a refresh token (RFC 7009)

POST
/auth/cli/revoke
curl --request POST \
--url https://mw.omazy.ai/api/v1/auth/cli/revoke \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data token=example

Idempotent — returns 200 even when the token was already invalid. Revokes the entire family on success.

Media typeapplication/x-www-form-urlencoded
object
token
required

Refresh token to revoke

string
Examplegenerated
token=example

No body

Bad Request

Media type*/*
object
error
string
error_description
string