Skip to main content
GET
/
identity
/
v1
/
organizations
/
visible-ids
Gets all organization IDs visible to the caller by traversing the hierarchy downward.
curl --request GET \
  --url https://api.sandbox.tesouro.com/identity/v1/organizations/visible-ids \
  --header 'Authorization: Bearer <token>'
{
  "organizationIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Returns the list of visible organization IDs.

Response DTO containing the list of organization IDs visible to the caller.

organizationIds
string<uuid>[]
required

The list of organization IDs that are visible to the caller (children, grandchildren, etc. in the hierarchy).