Skip to content
Navigation

Update a saved redact config

Renames a saved redact config, updates its config, or both. Send at least one field.

A config patch deep-merges over the saved config: objects merge key by key, arrays and scalars replace. Keys you leave out keep their saved values. schema is the exception: it replaces the saved schema whole, so send the whole schema.

Runs that already referenced it keep the configuration they were created with — the config is snapshotted onto each run.

Learn more: Redact capability

PATCH
https://api.cloudraker.com/v1/redact/configs/{idOrSlug}
Try it
Path parameters
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • idOrSlug
    string
    required
    minLength: 1

Request body JSON required

  • name
    optional
    string
    maxLength: 200 · minLength: 1
  • config
    optional
    map of
    unknown

Returns

200

The updated config.

JSON
  • object
    string
    required
  • id
    string
    required
  • slug
    string
    required
  • name
    string
    required
  • capability
    extract
    or
    redact
    or
    fill
    or
    sign
    or
    classify
    or
    split
    +1 more
    required
  • config
    map of
    unknown
    required
  • updatedAt
    optional
    string
  • revision
    optional
    integer

    The number of the saved config. It starts at 1, and each update that changes config adds one. Each run reports the revision it used, in config.revision.

    maximum: 9007199254740991 · minimum: 1

400

Empty body, or a config.schema outside the schema dialect.

404

Unknown id or slug, or a config of another capability.

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close