POST
/v1/mgmt/tenant/search
Search all tenants, using a valid management key.
This API endpoint returns details of configured tenants within the Descope instance that match the search parameters. The response includes an array of the tenants and these details for each tenant:
- id
- name
- selfProvisioningDomains
Next Steps
- Once you have this data, you can utilize the response to add users to the tenant via Update User or Create User
- You can also apply sso configurations to the tenant via the SSO Management API
See also
- See Tenant Management for further details on managing tenants.
Endpoint Authentication
Use authorization bearer header with the following format:
Authorization: Bearer \<ProjectId:ManagementKey\>
Authorization
Authorization
RequiredBearer <token>
< Project ID >:< Management Key > as bearer
In: header
Request Body
tenantIds
array<string>
tenantNames
array<string>
tenantSelfProvisioningDomains
array<string>
customAttributes
object
authType
string
Status code | Description |
---|---|
200 | OK |
Was this helpful?