Revoke token
documentedRevokes an access or refresh token.
POST /oauth2/v1/revokeOAuth 2.0no implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$OKTA_DOMAIN}}/oauth2/v1/revoke" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Authorization: Basic {{OKTA_SECRET}}" \
-d "token={{OAUTH2_ACCESS_TOKEN}}" \
-d "token_type_hint={{token_type_hint}}"