Viewing KACLS Endpoint Rewrap Configuration
Use the GET /v1/cckm/GoogleWorkspaceCSE/endpoints/{id}/rewrap-configuration API to view the KACLS endpoint rewrap configuration.
Before using the API, you need to update the rewrap configuration using PATCH /v1/cckm/GoogleWorkspaceCSE/endpoints/{id}/rewrap-configuration API, at least once.
Syntax
curl -k '<IP>/api/v1/cckm/GoogleWorkspaceCSE/endpoints/{id}/rewrap-configuration' -H 'Authorization: Bearer AUTHTOKEN' --compressed
Request Parameters
| Parameter | Type | Description | 
|---|---|---|
| id | string | ID of the endpoint. To find out the ID of an endpoint, refer to Viewing KACLS Endpoints. | 
| AUTHTOKEN | string | Authorization token. | 
Example Request
curl -k 'https://127.0.0.1/api/v1/cckm/GoogleWorkspaceCSE/endpoints/c1583936-7d03-4e2d-a0ae-3a1ae2d2e200/rewrap-configuration' -H 'Authorization: Bearer AUTHTOKEN' --compressed
Example Response
{
    "id": "a873fed8-40da-4959-b0b0-376e1af2764b",
    "uri": "kylo:kylo:cckm:kacls-endpoint-migration-configuration:a873fed8-40da-4959-b0b0-376e1af2764b",
    "account": "kylo:kylo:admin:accounts:101128a7-c620-4a64-9d81-08a8f72deb93",
    "createdAt": "2022-11-24T11:36:06.488958+05:30",
    "updatedAt": "2022-11-24T11:36:06.487491+05:30",
    "endpoint_id": "d7f604d6-d3c2-4aeb-bd62-b2e1429c63f4",
    "kacls_base_url": [
        "https://<KS IP1>/cckm/GoogleWorkspaceCSE/39a9e91b-7a95-4fbf-bf79-30930eeb1d23",
        "https://<KS IP2>/cckm/GoogleWorkspaceCSE/39a9e91b-7a95-4fbf-bf79-30930eeb1d2c"
    ]
}
The output shows the details of the KACLS endpoint rewrap configuration of the endpoint with ID "c1583936-7d03-4e2d-a0ae-3a1ae2d2e200".
Response Codes
| Response Code | Description | 
|---|---|
| 2xx | Success | 
| 4xx | Client errors | 
Refer to HTTP status codes for details.