3.0.0 • Published 5 years ago
@datafire/nexmo_redact v3.0.0
@datafire/nexmo_redact
Client library for Redact API
Installation and Usage
npm install --save @datafire/nexmo_redact
let nexmo_redact = require('@datafire/nexmo_redact').create({
username: "",
password: ""
});
.then(data => {
console.log(data);
});
Description
The Redact API helps organisations meet their privacy compliance obligations. It provides controlled, on-demand redaction of private information from transactional records in the long-term storage. Note, Redact API does not have the capability to redact the short-lived server logs that are retained for a few weeks. For SMS customers that need immediate redaction, Vonage suggests using Advanced Auto-redact.
Actions
transaction.post
Redact a specific message
nexmo_redact.transaction.post({
"body": {
"id": "",
"product": "",
"type": ""
}
}, context)
Input
- input
object
- body required RedactTransaction
Output
Output schema unknown
Definitions
ErrorInvalidId
- ErrorInvalidId
object
- detail required
string
: Additional information about the error - instance required
string
: Internal Trace ID - title required
string
: Generic error message - type required
string
: Link to error / remediation options
- detail required
ErrorInvalidJson
- ErrorInvalidJson
object
: Invalid JSON- detail required
string
: Additional information about the error - instance required
string
: Internal Trace ID - title required
string
: Generic error message - type required
string
: Link to error / remediation options
- detail required
ErrorPrematureRedaction
- ErrorPrematureRedaction
object
: Premature Redaction- detail required
string
: Additional information about the error - instance required
string
: Internal Trace ID - title required
string
: Generic error message - type required
string
: Link to error / remediation options
- detail required
ErrorThrottled
- ErrorThrottled
object
- detail required
string
: Additional information about the error - instance required
string
: Internal Trace ID - title required
string
: Generic error message - type required
string
: Link to error / remediation options
- detail required
ErrorUnauthorized
- ErrorUnauthorized
object
- error_title required
string
: Error title - type required
string
: Machine readable error type
- error_title required
ErrorUnprovisioned
- ErrorUnprovisioned
object
: Unprovisioned- detail required
string
: Additional information about the error - instance required
string
: Internal Trace ID - title required
string
: Generic error message - type required
string
: Link to error / remediation options
- detail required
ErrorUnsupportedProduct
- ErrorUnsupportedProduct
object
: Unsupported Product- detail required
string
: Additional information about the error - instance required
string
: Internal Trace ID - title required
string
: Generic error message - type required
string
: Link to error / remediation options
- detail required
RedactTransaction
- RedactTransaction
object
- id required
string
: The transaction ID to redact - product required
string
(values: sms, voice, number-insight, verify, verify-sdk, messages): Product name that the ID provided relates to - type required
string
(values: inbound, outbound): Required if redacting SMS data
- id required
3.0.0
5 years ago