Skip to main content

Get Organization By Domain

GET 

https://$CUSTOM-DOMAIN/management/v1/global/orgs/_by_domain

Search an organization by the domain, overall organizations. The domain must match exactly.

Request​

Query Parameters

    domain stringrequired

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 (string)
    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
curl -L 'https://$CUSTOM-DOMAIN/management/v1/global/orgs/_by_domain' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://$CUSTOM-DOMAIN/management/v1
Auth
Parameters
— queryrequired
ResponseClear

Click the Send API Request button above and see the response here!