Unkey · Schema

V2KeysMigrateKeysResponseData

API KeysRate LimitingAuthenticationDeveloper PlatformAccess ControlIdentityAnalytics

Properties

Name Type Description
migrated array Successfully migrated keys with their hash and generated keyId
failed array Hashes that could not be migrated (e.g., already exist in the system)
View JSON Schema on GitHub

JSON Schema

unkey-v2keysmigratekeysresponsedata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/V2KeysMigrateKeysResponseData",
  "title": "V2KeysMigrateKeysResponseData",
  "type": "object",
  "required": [
    "migrated",
    "failed"
  ],
  "properties": {
    "migrated": {
      "type": "array",
      "description": "Successfully migrated keys with their hash and generated keyId",
      "items": {
        "$ref": "#/components/schemas/V2KeysMigrateKeysMigration"
      }
    },
    "failed": {
      "type": "array",
      "description": "Hashes that could not be migrated (e.g., already exist in the system)",
      "items": {
        "type": "string",
        "description": "The hash that failed to migrate",
        "example": "sha256_ghi789jkl012"
      }
    }
  }
}