Viewing Details of a DKE Authorized Tenant
Use the get /v1/cckm/microsoft/dke/auth-tenants/{id} API to view the details of a Microsoft DKE authorized tenant with a given ID.
Syntax
curl -k '<CCKM IP address>/v1/cckm/microsoft/dke/auth-tenants/{id}' -H 'Authorization: Bearer AUTHTOKEN' -H 'accept: application/json' --compressed
Here, {id} is the ID of the DKE authorized tenant.
Request Parameter
| Parameter | Type | Description | 
|---|---|---|
| AUTHTOKEN | string | Authorization token. | 
| id | string | ID of the DKE authorized tenant. | 
Example Request
curl -k 'https://54.173.227.108/api/v1/cckm/microsoft/dke/auth-tenants/c575e91f-411d-4042-b526-b6f7e3f50f1b' -H 'Authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiI1OGE3OTZlNi0wMjY0LTRjNjgtOWVlOS0xNTEzODFmYWYxZWIiLCJzdWIiOiJsb2NhbHwxYWIwNGY0ZC01MDQ5LTQ0M2ItOWQ0OC02MzVlYjVjNDRmYzciLCJpc3MiOiJreWxvIiwiYWNjIjoia3lsbyIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiY3VzdCI6eyJjbGllbnRfaWQiOiI4MzdjODQwZC03NWRkLTRiNGYtYTMxOC03OWNiMTZjYTI0OGQiLCJjbGllbnRfbmFtZSI6ImFwaS1wbGF5Z3JvdW5kIiwiY2xpZW50X3R5cGUiOiJwdWJsaWMiLCJkb21haW5faWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJncm91cHMiOlsiYWRtaW4iXSwic2lkIjoiODM3Yzg0MGQtNzVkZC00YjRmLWEzMTgtNzljYjE2Y2EyNDhkIiwiem9uZV9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCJ9LCJqd3RpZCI6IjQzOTJlOGYyLTFiYTAtNDRkMS05NDA0LThmNmQ0NWNiNGZhOCIsImlhdCI6MTcwODQ5ODM5NSwiZXhwIjoxNzA4NDk4Njk1fQ.x1e-dgMWzf9hq-JDmRiy3g35MvWq85608DVRs7SSXRXuwl5fXX16j7Z47wTJveilmRRIj7pXhHBeRW7TNR4vHw' -H 'accept: application/json' --compressed
Example Response
{
    "id": "c575e91f-411d-4042-b526-b6f7e3f50f1b",
    "uri": "kylo:kylo:cckm:dke-auth-tenant:c575e91f-411d-4042-b526-b6f7e3f50f1b",
    "account": "kylo:kylo:admin:accounts:kylo",
    "createdAt": "2023-12-28T04:57:52.719716Z",
    "updatedAt": "2023-12-28T04:57:52.719244Z",
    "name": "Authorized tenent 001",
    "tenant_id": "d27d849e-e487-4b0e-a54c-a71e67687d10",
    "authorization_type": "email",
    "issuer": "https://sts.windows.net/d27d849e-e487-4b0e-a54c-a71e67687d10/",
    "authorized_email_addresses": [
        "ali@example.com"
    ]
}
The sample output shows the details of the DKE authorized tenant with the specified ID.
Response Codes
| Response Code | Description | 
|---|---|
| 2xx | Success | 
| 4xx | Client errors | 
| 5xx | Server errors | 
Refer to HTTP status codes for details.