---
updatedAt: 2026-06-09T06:35:55.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/administration/llms.txt
---

# Revoke Token by Value

Revokes an access token by providing a JSON web token (JWT) or reference token.


**Note:** The token must be revocable for this operation to succeed.


**Security:** Requires admin privileges.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "JFrog Platform - Access Tokens API",
    "description": "Manage access tokens for the JFrog Platform, including creating, refreshing, listing, and revoking tokens.\n\n**Authentication:** Access Tokens as bearer token in authorization header (`Authorization: Bearer <token>`). Basic authentication is also supported for the Create Token API when enabled in the platform configuration.\n\n**Security:** Security requirements vary per operation. See individual operation descriptions for details.\n",
    "version": "1.0.0",
    "contact": {
      "name": "JFrog Support"
    }
  },
  "servers": [
    {
      "url": "https://{jfrog_url}"
    }
  ],
  "tags": [
    {
      "name": "Access Tokens",
      "description": "Create, retrieve, refresh, and revoke access tokens for JFrog Platform services."
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "paths": {
    "/access/api/v1/tokens/revoke": {
      "delete": {
        "tags": [
          "Access Tokens"
        ],
        "summary": "Revoke Token by Value",
        "description": "Revokes an access token by providing a JSON web token (JWT) or reference token.\n\n\n**Note:** The token must be revocable for this operation to succeed.\n\n\n**Security:** Requires admin privileges.\n",
        "operationId": "revokeTokenByValue",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "token"
                ],
                "properties": {
                  "token": {
                    "type": "string",
                    "description": "The token value to revoke. Can be either a reference token or a JWT access token. The token must have been created with `force_revocable: true` or `refreshable: true` for JWT tokens to be revocable."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Token revoked successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "revoked_token_id": {
                      "type": "string",
                      "description": "The ID of the revoked token"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Bad Credentials - Invalid credentials"
          },
          "403": {
            "description": "Permission Denied - Insufficient permissions"
          },
          "404": {
            "description": "Not Found - Token not found or not revocable"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Access Token as bearer token"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```