Create anonymized branch

Creates a new branch with anonymized data using PostgreSQL Anonymizer for static masking.
This allows developers to work with masked production data.
Optionally, provide masking_rules to set initial masking rules for the branch
and start_anonymization to automatically start anonymization after creation. This
combines functionality of updating masking rules and starting anonymization into the
branch creation request.

Note: This endpoint is currently in Beta.

Path Params
string
required
^[a-z0-9-]{1,60}$

The Neon project ID

Body Params
annotation_value
object

Annotation properties.

branch_create
object
masking_rules
array of objects

List of masking rules to apply to the branch.

masking_rules
boolean

If true, automatically start anonymization after the branch is created.
Defaults to false.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json