{
  "opencollection": "1.0.0",
  "info": {
    "name": "Strapi Admin Panel Admin Authentication API Tokens API",
    "version": "5.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "API Tokens",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List API tokens",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/admin/api-tokens"
          },
          "docs": "Returns a list of all API tokens configured in the Strapi admin panel. API tokens allow authenticating REST and GraphQL API requests without managing user accounts."
        },
        {
          "info": {
            "name": "Create an API token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/admin/api-tokens",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new API token with specified permissions. The full token value is only returned once upon creation and cannot be retrieved again."
        },
        {
          "info": {
            "name": "Get an API token",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/admin/api-tokens/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the API token"
              }
            ]
          },
          "docs": "Returns a single API token's metadata by its ID. The full token value is not returned."
        },
        {
          "info": {
            "name": "Update an API token",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}/admin/api-tokens/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the API token"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an API token's name, description, type, or permissions."
        },
        {
          "info": {
            "name": "Delete an API token",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}/admin/api-tokens/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the API token"
              }
            ]
          },
          "docs": "Deletes an API token by its ID. Any requests using this token will fail after deletion."
        }
      ]
    }
  ],
  "bundled": true
}