Redact Configuration API Reference
The Pangea Redact API helps developers limit the sprawl of sensitive information by performing redaction using defined rules.
Base URL
redact.<csp>.<region>.pangea.cloud
curl -sSLX POST 'https://redact.aws.us.pangea.cloud/v1beta/config' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Get Redact config
Retrieve a Redact service configuration by its ID.
curl -sSLX POST 'https://redact.aws.us.pangea.cloud/v1beta/config/create' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
This endpoint cannot be called through the documentation site
Create Redact config
Create a new Redact service configuration.
curl -sSLX POST 'https://redact.aws.us.pangea.cloud/v1beta/config/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
This endpoint cannot be called through the documentation site
Update Redact config
Update a Redact service configuration.
To update a configuration, first retrieve the current version, apply your changes, and submit the updated configuration to this endpoint.
For a full example using a Project Admin management client, see the Service Configuration APIs documentation.
curl -sSLX POST 'https://redact.aws.us.pangea.cloud/v1beta/config/delete' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
This endpoint cannot be called through the documentation site
Delete redact config (Beta)
curl -sSLX POST 'https://redact.aws.us.pangea.cloud/v1beta/config/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
List Redact configs
Retrieve a paginated list of Redact service configurations.
Status Codes
Status | Status Code | Description |
---|---|---|
InvalidFPEKey | 400 | FPE key provided was not valid |
RegexTimeout | 400 | A user-provided regex took too long to run |
Was this article helpful?