Updating CCKM Settings
Use the patch /v1/cckm/settings/backups
API to update the CCKM settings.
Syntax
curl -k '<IP>/api/v1/cckm/settings/backups' -X PATCH -H 'Authorization: Bearer AUTHTOKEN' --compressed
Request Parameter
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
azure_cloud_key_backup_limit (optional) | string | The limit for Azure cloud key backup. |
Example Request
curl -k 'https://127.0.0.1/api/v1/cckm/settings/backups' -X PATCH -H 'Authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiI3MGRkZmM2Zi0xMTIxLTQwMmQtYjU5Zi04OWFiOGJlMjkyOWYiLCJzdWIiOiJsb2NhbHwzNWQ5ZjA1OC01ZGVhLTQwMWMtYTQwMC0zMTcyZTczZGY4ODciLCJpc3MiOiJreWxvIiwiYWNjIjoia3lsbyIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiY3VzdCI6eyJjbGllbnRfaWQiOiI4MzdjODQwZC03NWRkLTRiNGYtYTMxOC03OWNiMTZjYTI0OGQiLCJjbGllbnRfbmFtZSI6ImFwaS1wbGF5Z3JvdW5kIiwiY2xpZW50X3R5cGUiOiJwdWJsaWMiLCJkb21haW5faWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJncm91cHMiOlsiYWRtaW4iXSwic2lkIjoiODM3Yzg0MGQtNzVkZC00YjRmLWEzMTgtNzljYjE2Y2EyNDhkIiwiem9uZV9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCJ9LCJqd3RpZCI6IjEwZDYwMDdlLWNmNTEtNDI2Yy05ZDAwLWY1MzExMGMxNjNhZSIsImlhdCI6MTcxNDQ1NjM2MSwiZXhwIjoxNzE0NDU2NjYxfQ.TTNqOy-0QHOfVeWDt92oF96nw0AG_m6QO2vO8-D0eu7GwfNP9KjRmWgj4xl5YVw0o7GbFulJafppluH_Dgt3WA' -H 'accept: application/json' --compressed
Example Response
{
"azure_cloud_key_backup_limit": 30
}
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.