Skip to main content

Deprecated: Use CreateInstance instead

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

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

Request Body required
  • instanceName string
  • firstOrgName string
  • customDomain string
  • ownerUserName string
  • ownerEmail object
  • email string
  • isEmailVerified boolean
  • ownerProfile object
  • firstName string
  • lastName string
  • preferredLanguage string
  • ownerPassword object
  • password string
  • passwordChangeRequired boolean
  • defaultLanguage string
Responses

A successful response.


Schema
  • instanceId string
  • details object
  • sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

  • creationDate date-time

    on read: the timestamp of the first event of the object

    on create: the timestamp of the event(s) added by the manipulation

  • changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the

  • resourceOwner resource_owner is the organization an object belongs to
POST /instances

Request

Base URL
https://$ZITADEL_DOMAIN/system/v1
Content-Type
Body required
{
"instanceName": "string",
"firstOrgName": "string",
"customDomain": "string",
"ownerUserName": "string",
"ownerEmail": {
"email": "string",
"isEmailVerified": true
},
"ownerProfile": {
"firstName": "string",
"lastName": "string",
"preferredLanguage": "string"
},
"ownerPassword": {
"password": "string",
"passwordChangeRequired": true
},
"defaultLanguage": "string"
}
Accept
curl -L -X POST 'https://$ZITADEL_DOMAIN/system/v1/instances' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"instanceName": "string",
"firstOrgName": "string",
"customDomain": "string",
"ownerUserName": "string",
"ownerEmail": {
"email": "string",
"isEmailVerified": true
},
"ownerProfile": {
"firstName": "string",
"lastName": "string",
"preferredLanguage": "string"
},
"ownerPassword": {
"password": "string",
"passwordChangeRequired": true
},
"defaultLanguage": "string"
}'