Fetching List of DKE Authorized Tenants
Use the get /v1/cckm/microsoft/dke/auth-tenants
API to fetch a list of the Microsoft DKE authorized tenants from CCKM. The results can be filtered using the query parameters.
Syntax
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
Request Query Parameters
Parameter | Type | Description |
---|---|---|
id | string | ID of the DKE authorized tenant. |
name | string | Name of the DKE authorized tenant. |
authorization_type | string | Authorization type for DKE key: email and role . |
connection | string | ID of the Azure connection. Mandatory for role-based authorization. |
tenant_id | string | tenant_id for the authorized tenant. |
issuer | string | A valid issuer for the DKE authorized tenant. Currently, only one issuer is supported. For example, https://sts.windows.net/azure tenant ID/. This issuer must match the issuer within the JWT that the CCKM receives. |
skip | integer | Number of records to skip. For example, if "skip":5 is specified, the first five records will not be displayed in the output. |
limit | integer | Numbers of records to display. For example, if "limit":10 is specified, then the next 10 records (after skipping the number of records specified in the skip parameter) will be displayed in the output. |
sort | string | Comma-delimited list of properties to sort the results. |
Example Request
Example Response
The sample output shows two DKE authorized tenants listed--one with the ID of c575e91f-411d-4042-b526-b6f7e3f50f1b
and the other with the ID of d815e91f-411d-4042-b526-b6f7e3f50i7z
.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.