Table of Contents

Interface IRedactClient

Namespace
Vonage.Redaction
Assembly
Vonage.dll

Exposes Redact API features for removing personal data from the Vonage platform to comply with GDPR and similar privacy regulations.

public interface IRedactClient

Methods

RedactAsync(RedactRequest, Credentials)

Redacts a specific transaction record from the Vonage platform.

Task<bool> RedactAsync(RedactRequest request, Credentials creds = null)

Parameters

request RedactRequest

The redaction request containing the transaction ID, product, and type. See RedactRequest.

creds Credentials

Optional credentials to override the default client credentials.

Returns

Task<bool>

true if the redaction was successful.

Examples

var request = new RedactRequest
{
    Id = "00A0B0C0",
    Product = RedactionProduct.Sms,
    Type = RedactionType.Outbound
};
var success = await client.RedactClient.RedactAsync(request);
See Also