Enabling a KACLS Endpoint
Use the POST /v1/cckm/GoogleWorkspaceCSE/endpoints/{id}/enable API to enable a disabled KACLS endpoint.
Syntax
curl -k '<IP>/api/v1/cckm/GoogleWorkspaceCSE/endpoints/{id}/enable' -X POST -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/enable' -X DELETE -H 'Authorization: Bearer AUTHTOKEN' --compressed
Example Response
{
    "issuer": [
        "39a9e91b-7a95-4fbf-bf79-30930eeb1d2c",
        "39a9e91b-7a95-4fbf-bf79-30930eeb1d2d"
        ],
    "id": "c1583936-7d03-4e2d-a0ae-3a1ae2d2e200",
    "uri": "kylo:kylo:cckm:kacls-endpoint:test",
    "account": "kylo:kylo:admin:accounts:kylo",
    "application": "ncryptify:gemalto:admin:apps:kylo",
    "devAccount": "ncryptify:gemalto:admin:accounts:gemalto",
    "createdAt": "2021-04-13T11:24:04.409833Z",
    "name": "endpoint_demo",
    "updatedAt": "2021-04-20T04:08:02.217789875Z",
    "cors": null,
    "authorizationAud": null,
    "authenticationAud": [
        "1eOtgM5VhW6KTYpy3T4PkiwkLSS5Yqcu"
    ],
    "endpoint_url_hostname": "demo.thalesgwsintegration.net",
    "endpoint_url": "https://demo.thalesgwsintegration.net/api/v1/cckm/GoogleWorkspaceCSE/endpoints/c1583936-7d03-4e2d-a0ae-3a1ae2d2e200 ",
    "kekName": "ks-cc84e97b53e5457cbd6b664174a0f1df57570a3aa4044ee887077203940f1221",
    "kekID": "cc84e97b53e5457cbd6b664174a0f1df57570a3aa4044ee887077203940f1221",
    "kekVersion": "1",
    "meta": null,
    "status": "active"
}
The "status": "active" indicates that the endpoint is enabled.
Response Codes
| Response Code | Description | 
|---|---|
| 2xx | Success | 
| 4xx | Client errors | 
Refer to HTTP status codes for details.