ZITADEL Docs
APIsCore ResourcesV1Instance Objects

ImportData

Imports data into an instance and creates different objects

POST
/import

Request Body

application/json

timeout?string
dataOrgs*
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/import" \  -H "Content-Type: application/json" \  -d '{    "dataOrgs": {}  }'
{
  "errors": [
    {
      "type": "string",
      "id": "string",
      "message": "string"
    }
  ],
  "success": {
    "orgs": [
      {
        "orgId": "string",
        "projectIds": [
          "string"
        ],
        "projectRoles": [
          "string"
        ],
        "oidcAppIds": [
          "string"
        ],
        "apiAppIds": [
          "string"
        ],
        "humanUserIds": [
          "string"
        ],
        "machineUserIds": [
          "string"
        ],
        "actionIds": [
          "string"
        ],
        "triggerActions": [
          {
            "flowType": "string",
            "triggerType": "string",
            "actionIds": [
              "string"
            ]
          }
        ],
        "projectGrants": [
          {
            "grantId": "string",
            "projectId": "string",
            "orgId": "string"
          }
        ],
        "userGrants": [
          {
            "projectId": "string",
            "userId": "string"
          }
        ],
        "orgMembers": [
          "string"
        ],
        "projectMembers": [
          {
            "projectId": "string",
            "userId": "string"
          }
        ],
        "projectGrantMembers": [
          {
            "projectId": "string",
            "grantId": "string",
            "userId": "string"
          }
        ],
        "oidcIpds": [
          "string"
        ],
        "jwtIdps": [
          "string"
        ],
        "idpLinks": [
          "string"
        ],
        "userLinks": [
          {
            "userId": "string",
            "externalUserId": "string",
            "displayName": "string",
            "idpId": "string"
          }
        ],
        "userMetadata": [
          {
            "userId": "string",
            "key": "string"
          }
        ],
        "domains": [
          "string"
        ],
        "appKeys": [
          "string"
        ],
        "machineKeys": [
          "string"
        ]
      }
    ]
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?