Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Instance Objects

ImportData

Imports data into an instance and creates different objects

POST
/admin/v1/import

Request Body

application/json
  1. body
timeout?timeout
dataOrgs*

Response Body

Success

application/json
  1. response
errors?array<>
success?
Example Request
curl -X POST 'https://example.com/admin/v1/import' \  -H 'Content-Type: application/json' \  -d '{  "dataOrgs": {}}'
Example Response200
{  "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"        ]      }    ]  }}

Was this page helpful?