ZITADEL Docs
APIsCore ResourcesV1Instance Lifecycle

CreateInstance

Creates a new instance with all needed setup data This might take some time

POST
/instances/_create

Request Body

application/json

instanceName?string
firstOrgName?string
customDomain?string
defaultLanguage?string
human*

oneof field for the user managing the instance

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/instances/_create" \  -H "Content-Type: application/json" \  -d '{    "human": {}  }'
{
  "instanceId": "string",
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  },
  "pat": "string",
  "machineKey": "string"
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?