---
schema_version: "1"
id: ae93481d2e1ea9e455cf2998e84c1a4a8b3cc2377bb73a8c668030f4049b194d
title: Headlessly Revoke an Access Token
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/security/headless-identity-impl-guide/guides/headless-identity/headless-identity-postman-revoketoken.md
canonical_url: https://developer.salesforce.com/docs/platform/headless-identity-impl-guide/guide/headless-identity-postman-revoketoken.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: d75a2f8a826d4e6268086f943a579e21bf252946c039306f3ec02ebe3ee50896
products:
  - Headless Identity Implementation Guide
  - Security
---

# Headlessly Revoke an Access Token

To log out of your headless app, you can revoke the access token. This example walks you through headlessly revoking a token with Postman.

|Required Editions|
|-----------------|
|Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience|
|Available in: **Enterprise**, **Unlimited**, and **Developer** Editions|

1.  From the Headless Identity API Demo folder in Postman, select **Revoke Token**.

    Note the location of the POST request. It’s the `/services/oauth2/revoke` endpoint on your Experience Cloud site, which is the same endpoint that you used for the initial reset request.

2.  To see the request body, click **Body**. The revocation request includes only a `token` parameter.

3.  For the `token` parameter, replace `<Token>` with an access token that you obtained during headless registration or headless login.

4.  To send the request to the revocation endpoint, click **Send**.

    If the request is successful, you’re logged out.


