ZITADEL Docs
APIsCore ResourcesV1Instance Objects

GetMyInstance

Get My Instance

Deprecated: use instance service v2 GetInstance instead.

Returns the details about the current instance such as the name, version, domains, etc.

GET
/instances/me

Response Body

application/json

application/json

curl -X GET "https://loading/instances/me"
{
  "instance": {
    "id": "string",
    "details": {
      "sequence": 0,
      "creationDate": "1s",
      "changeDate": "1s",
      "resourceOwner": "string"
    },
    "state": "STATE_UNSPECIFIED",
    "name": "string",
    "version": "string",
    "domains": [
      {
        "details": {
          "sequence": 0,
          "creationDate": "1s",
          "changeDate": "1s",
          "resourceOwner": "string"
        },
        "domain": "string",
        "primary": true,
        "generated": true
      }
    ]
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?