JFrog Access Tokens API

Token creation and management

Documentation

📖
Documentation
https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API
📖
Authentication
https://www.jfrog.com/confluence/display/JFROG/Access+Tokens
📖
GettingStarted
https://jfrog.com/help/r/jfrog-artifactory-documentation/use-the-rest-api
📖
Documentation
https://jfrog.com/help/r/jfrog-rest-apis/artifactory-rest-api-v2
📖
Authentication
https://jfrog.com/help/r/jfrog-platform-administration-documentation/access-tokens
📖
Documentation
https://www.jfrog.com/confluence/display/JFROG/Xray+REST+API
📖
GettingStarted
https://jfrog.com/help/r/xray-rest-apis/introduction-to-the-xray-rest-apis
📖
Documentation
https://www.jfrog.com/confluence/display/JFROG/Distribution+REST+API
📖
Documentation
https://www.jfrog.com/confluence/display/JFROG/Pipelines+REST+API
📖
GettingStarted
https://jfrog.com/help/r/jfrog-rest-apis/introduction-to-the-pipelines-rest-apis
📖
Documentation
https://www.jfrog.com/confluence/display/JFROG/JFrog+Platform+REST+API
📖
GettingStarted
https://jfrog.com/help/r/jfrog-rest-apis/introduction-to-the-jfrog-platform-rest-apis
📖
Documentation
https://jfrog.com/help/r/jfrog-platform-administration-documentation/access-token-rest-api
📖
GettingStarted
https://jfrog.com/help/r/jfrog-platform-administration-documentation/introduction-to-access-tokens
📖
Documentation
https://jfrog.com/help/r/jfrog-rest-apis/jfrog-curation-rest-apis
📖
Documentation
https://jfrog.com/help/r/jfrog-rest-apis/mission-control-rest-apis
📖
Documentation
https://jfrog.com/help/r/jfrog-rest-apis/release-lifecycle-management
📖
Documentation
https://jfrog.com/help/r/jfrog-rest-apis/workers-rest-apis
📖
Documentation
https://jfrog.com/help/r/jfrog-ml-documentation/jfrog-ml-rest-api
📖
Documentation
https://docs.connect.jfrog.io/rest-api-v2/connect-api-reference
📖
Authentication
https://docs.connect.jfrog.io/developers
📖
Documentation
https://jfrog.com/help/r/jfrog-security-user-guide/products/catalog
📖
Documentation
https://jfrog.com/help/r/jfrog-artifactory-documentation/create-evidence-using-rest-apis

Specifications

Other Resources

🔗
Reference
https://jfrog.com/help/r/jfrog-rest-apis/artifactory-rest-apis
🔗
Blog
https://jfrog.com/blog/agent-skills-new-ai-packages/
🔗
GraphQL
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/graphql/jfrog-graphql.md
🔗
Reference
https://jfrog.com/help/r/xray-rest-apis
🔗
Reference
https://jfrog.com/help/r/jfrog-rest-apis/distribution-rest-apis
🔗
Reference
https://jfrog.com/help/r/jfrog-rest-apis/pipelines-rest-apis
🔗
Reference
https://jfrog.com/help/r/jfrog-rest-apis/jfrog-platform-rest-apis
🔗
APIsJSON
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/apis.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-access-create-user-with-group-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-access-provision-project-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-attach-build-evidence-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-cleanup-stale-artifacts-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-configure-repository-replication-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-curation-policy-setup-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-deploy-and-verify-artifact-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-distribution-release-bundle-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-grant-repository-permission-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-ml-register-model-version-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-pipelines-trigger-and-monitor-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-platform-register-webhook-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-platform-rotate-access-token-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-promote-artifact-by-checksum-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-promote-build-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-provision-local-repository-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-release-bundle-v2-promote-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-secure-publish-artifact-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-worker-deploy-and-test-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-xray-component-license-check-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-xray-policy-and-watch-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-xray-scan-artifact-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-xray-scan-build-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-xray-triage-violation-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/jfrog/refs/heads/main/arazzo/jfrog-xray-vulnerability-report-workflow.yml

OpenAPI Specification

jfrog-access-tokens-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: JFrog Access REST Access Tokens API
  description: API for managing users, groups, permissions, projects, and access tokens across the JFrog Platform. JFrog Access handles identity management, role-based access control, federated identity, and scoped token creation for authentication and authorization across all JFrog services.
  version: 2.x
  contact:
    name: JFrog
    url: https://jfrog.com
  license:
    name: Proprietary
    url: https://jfrog.com/terms-of-service/
  termsOfService: https://jfrog.com/terms-of-service/
servers:
- url: https://{server}.jfrog.io/access
  description: JFrog Cloud
  variables:
    server:
      default: myserver
      description: Your JFrog server name
- url: https://{host}/access
  description: Self-hosted JFrog instance
  variables:
    host:
      default: localhost:8082
      description: Your self-hosted JFrog server host
security:
- bearerAuth: []
- basicAuth: []
tags:
- name: Access Tokens
  description: Token creation and management
paths:
  /access/api/v2/tokens:
    get:
      operationId: listTokens
      summary: JFrog List Access Tokens
      description: Returns a list of all access tokens.
      tags:
      - Access Tokens
      responses:
        '200':
          description: Tokens list retrieved
          content:
            application/json:
              schema:
                type: object
                properties:
                  tokens:
                    type: array
                    items:
                      $ref: '#/components/schemas/TokenInfo'
    post:
      operationId: createToken
      summary: JFrog Create Access Token
      description: Creates a new access token.
      tags:
      - Access Tokens
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTokenRequest'
      responses:
        '200':
          description: Token created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenResponse'
  /access/api/v2/tokens/{tokenId}:
    get:
      operationId: getToken
      summary: JFrog Get Token Details
      description: Returns details for a specific access token.
      tags:
      - Access Tokens
      parameters:
      - name: tokenId
        in: path
        required: true
        schema:
          type: string
        description: Token ID
      responses:
        '200':
          description: Token details retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenInfo'
    delete:
      operationId: revokeToken
      summary: JFrog Revoke Access Token
      description: Revokes an access token.
      tags:
      - Access Tokens
      parameters:
      - name: tokenId
        in: path
        required: true
        schema:
          type: string
        description: Token ID
      responses:
        '200':
          description: Token revoked
components:
  schemas:
    TokenResponse:
      type: object
      properties:
        token_id:
          type: string
        access_token:
          type: string
        refresh_token:
          type: string
        expires_in:
          type: integer
        scope:
          type: string
        token_type:
          type: string
          example: Bearer
        reference_token:
          type: string
    CreateTokenRequest:
      type: object
      properties:
        subject:
          type: string
        scope:
          type: string
        expires_in:
          type: integer
          description: Token expiry in seconds (0 for non-expiring)
        refreshable:
          type: boolean
        description:
          type: string
        audience:
          type: string
        include_reference_token:
          type: boolean
      required:
      - scope
    TokenInfo:
      type: object
      properties:
        token_id:
          type: string
        subject:
          type: string
        expiry:
          type: integer
        issued_at:
          type: integer
        issuer:
          type: string
        description:
          type: string
        refreshable:
          type: boolean
        scope:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Access token authentication
    basicAuth:
      type: http
      scheme: basic
      description: Basic username/password authentication
externalDocs:
  description: JFrog Access REST API Documentation
  url: https://jfrog.com/help/r/jfrog-platform-administration-documentation/access-token-rest-api