Encrypts the given input value/s OR values of the object.
POST
/crypto/v1/_encryptLast modified: 6 months ago
Request
Header Params
Content-Type
string
optional
Example:
application/json
Body Params text/plain
Example:{
"RequestInfo": {
"apiId": null,
"ver": null,
"ts": null,
"action": "POST",
"did": null,
"key": null,
"msgId": "5bfa85e7-dfa1-47c8-98b2-747bf552be86",
"authToken": "50b80fa6-bec2-438e-a168-ce5ad53770b5"
},
"encryptionRequests": [
{
"tenantId": "pg",
"type": "Imp",
"value": "My email account"
}
]
}
Request samples
Responses
The returned encrypted value will have the same structure as the input value.(200)
Invalid input.(400)
The returned encrypted value will have the same structure as the input value.
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
array of:
Example
[
"437506|A5ag4DfbhHAHiqXRKFcAedFKtNOelHX+8+jB0ckNG/tihwimx7xu6akEoa+kaQPcIhSnYeveloIhdPBCOgrXWvkWGZfShx1i2bE2vAcWB+r0YIDdwZLKJbQGBHDqcEOn8mfO+LnmpJ5P4zPETtE+2EHhta+vKcE5OQj8ZQawHS4=",
[
"896077|I/8Xwqr5MwB6UucEP8/Q5wiCHpbaNqGE",
"896077|I+gMx6TjN0BcLxudEiYQKIDKtSlmpJY="
],
{
"userObject1": {
"mobileNumber": "395551|eSfiPrQ1UK07d0SupYQYqbr2QFNOWSuYJYcU",
"name": "395551|CnCzaK1ADfnx+4FINXIQ9zjnUs1ieAtz"
}
}
]
Last modified: 6 months ago