POST
/kms-key/{id}/decrypt
curl \
--request POST 'https://api-ch-gva-2.exoscale.com/v2/kms-key/{id}/decrypt' \
--header "Content-Type: application/json" \
--data '{"encryption-context":"string","ciphertext":"string"}'
Request examples
{
"encryption-context": "string",
"ciphertext": "string"
}
Response examples (200)
{
"plaintext": "string"
}
Response examples (400)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string",
"errors": [
{
"path": "string",
"detail": "string",
"pointer": "string",
"location": "string"
}
]
}