---
updatedAt: 2026-05-31T12:49:47.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/administration/llms.txt
---

# Start SHA256 Migration Task

Starts the SHA-256 migration process.

**Note:** This API is available only in Self-hosted instances.
Migration can also be configured using a set of properties in Artifactory's artifactory.system.properties file.

**Since:** 6.6.0

**Security:** Administrator permissions.


<br />

<br />

<Callout icon="📘" theme="info">
  Supported on Self-managed JPDs only.
</Callout>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "JFrog Platform - Artifactory System API",
    "description": "Artifactory system configuration APIs for the JFrog Platform.\n\n**Authentication:**\n- Basic authentication using username and password\n- Access Tokens instead of password for basic authentication\n- Access Tokens as bearer token in authorization header (Authorization: Bearer <token>)\n",
    "version": "1.0.0",
    "contact": {
      "name": "JFrog Support"
    }
  },
  "servers": [
    {
      "url": "https://{jfrog_url}",
      "description": "JFrog Platform",
      "variables": {
        "jfrog_url": {
          "default": "myserver.jfrog.io",
          "description": "Your JFrog Platform hostname (e.g., mycompany.jfrog.io)"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Artifactory System",
      "description": "Artifactory system configuration APIs."
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "paths": {
    "/artifactory/api/system/migration/sha2/start": {
      "post": {
        "tags": [
          "Artifactory System"
        ],
        "summary": "Start SHA256 Migration Task",
        "description": "Starts the SHA-256 migration process.\n\n**Note:** This API is available only in Self-hosted instances.\nMigration can also be configured using a set of properties in Artifactory's artifactory.system.properties file.\n\n**Since:** 6.6.0\n\n**Security:** Administrator permissions.\n",
        "operationId": "startSha256Migration",
        "requestBody": {
          "required": false,
          "description": "Optional migration parameters (batch size, query limits, sleep intervals).",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "batchThreshold": {
                    "type": "integer",
                    "default": 10,
                    "description": "Batch threshold for migration"
                  },
                  "queryLimit": {
                    "type": "integer",
                    "default": 100,
                    "description": "Query limit for migration"
                  },
                  "waitForClusterSleepIntervalMillis": {
                    "type": "integer",
                    "default": 5000,
                    "description": "Wait for cluster sleep interval in milliseconds"
                  },
                  "sleepIntervalMillis": {
                    "type": "integer",
                    "default": 5000,
                    "description": "Sleep interval in milliseconds"
                  },
                  "forceRunOnNodeId": {
                    "type": "string",
                    "description": "Force run on specific node ID"
                  }
                }
              },
              "example": {
                "batchThreshold": 10,
                "queryLimit": 100,
                "waitForClusterSleepIntervalMillis": 5000,
                "sleepIntervalMillis": 5000,
                "forceRunOnNodeId": ""
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Migration task started successfully",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "example": "Sha256 migration scheduled to start successfully"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request - Operation not supported in this environment (e.g., SaaS, AOL).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "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"
      }
    }
  }
}
```