Skip to main content

Get Default Organization

Get the default organization of the ZITADEL instance. If no specific organization is given on the register form, a user will be registered to the default organization.

Responses

A successful response.


Schema
  • org object
  • id 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
  • state string

    Possible values: [ORG_STATE_UNSPECIFIED, ORG_STATE_ACTIVE, ORG_STATE_INACTIVE, ORG_STATE_REMOVED]

    Default value: ORG_STATE_UNSPECIFIED

    current state of the organization

  • name string
  • primaryDomain string
GET /orgs/default

Authorization

type: oauth2flow: authorizationCodescopes: openid,urn:zitadel:iam:org:project:id:zitadel:aud

Request

Base URL
https://$ZITADEL_DOMAIN/admin/v1
Bearer Token
Accept
curl -L -X GET 'https://$ZITADEL_DOMAIN/admin/v1/orgs/default' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'