cURL
curl --request PATCH \ --url https://us.infisical.com/api/v1/kms/keys/{keyId} \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "isDisabled": true, "description": "<string>" }'
{ "key": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "description": "<string>", "isDisabled": false, "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "projectId": "<string>", "keyUsage": "encrypt-decrypt", "version": 1, "encryptionAlgorithm": "<string>" } }
Update KMS key
The ID of the key to be updated.
The updated name of this key. Must be slug-friendly.
1 - 32
The flag to enable or disable this key.
The updated description of this key.
500
Default Response
Show child attributes
Was this page helpful?