ZITADEL Docs
APIsCore ResourcesV1Instance Lifecycle

AddInstance

Deprecated: Use CreateInstance instead Creates a new instance with all needed setup data This might take some time

POST
/instances

Request Body

application/json

instanceName?string
firstOrgName?string
customDomain?string
ownerUserName?string
ownerEmail?
ownerProfile?
ownerPassword?
defaultLanguage?string
[key: string]?never

Response Body

application/json

application/json

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

Was this page helpful?