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

# Get Token Default Expiry Value

Returns the system's token default expiry value.


**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/config/token/default_expiry": {
      "get": {
        "tags": [
          "Access Tokens"
        ],
        "summary": "Get Token Default Expiry Value",
        "description": "Returns the system's token default expiry value.\n\n\n**Security:** Requires admin privileges.\n",
        "operationId": "getTokenDefaultExpiry",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "default_token_expiration": {
                      "type": "integer",
                      "description": "Default token expiration in seconds"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Bad Credentials - Invalid credentials"
          },
          "403": {
            "description": "Permission Denied - Insufficient permissions"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Access Token as bearer token"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```