Decrypt data
POST /api/v1/Utilities/decrypt
Description
This endpoint is used to decrypt encrypted data.
Tags: Utilities
URL: /api/v{version}/Utilities/decrypt
ApiKey: No API key required
Content-Type: text/plain, application/json, text/json
Parameters:
-
version: string, required
-
Accept-Language: header, optional, change the default response message language from English(en) to French(fr) or English(en)
Body Parameters:
- EncryptedData: string, required, the data to decrypt
Response:
- Success, returns a decrypted string.
Error Codes:
- 400: Bad Request
Example:
JSON
POST /api/v1/Utilities/decrypt
{
"EncryptedData": "abc123"
}
Plain Text
HTTP/1.1 200 OK
{
"DecryptedData": "sensitiveData"
}
/api/v1/Utilities/decrypt
Headers
| Content-Type | Value |
|---|---|
| Accept-Language |
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Body (raw)
{
"encryptedText": `<string>`
}
Response: 200
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v1/Utilities/decrypt \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!