GET
/v1/mgmt/tenant/all

Load all tenants, using a valid management key.

This API endpoint returns details of all configured tenants within the Descope instance. The response includes an array of the tenants and these details for each tenant:

  • id
  • name
  • selfProvisioningDomains

Next Steps

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/tenant/all

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Status codeDescription
200OK
curl -X GET "https://api.descope.com/v1/mgmt/tenant/all"

{
  "tenants": [
    {
      "id": "string",
      "name": "string",
      "selfProvisioningDomains": [
        "string"
      ],
      "customAttributes": {},
      "authType": "string",
      "domains": [
        "string"
      ],
      "createdTime": 0
    }
  ]
}

Was this helpful?