Open MCP Portaldocs
ReferenceAdmin

Replace the extra redaction patterns (platform admins)

PUT/v1/admin/settings/capture

422 invalid_pattern with details.index and details.reason (syntax, too_long, too_many, matches_empty). Patterns apply to captures from then on (other replicas within 30 seconds); stored payloads are not rewritten. Audited as settings.capture_update.

Header Parameters

If-Match*string

The resource's revision, as returned in ETag (for example "3"). Missing returns 428; stale returns 412.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/admin/settings/capture" \  -H "If-Match: string" \  -H "Content-Type: application/json" \  -d '{    "patterns": [      {        "pattern": "EMP-[0-9]{6}"      }    ]  }'
{  "data": {    "builtInRules": [      {        "name": "github",        "description": "string"      }    ],    "sensitiveKeys": [      "string"    ],    "patterns": [      {        "pattern": "EMP-[0-9]{6}",        "note": "string"      }    ],    "maxPartBytes": 0,    "revision": 0,    "updatedAt": "2019-08-24T14:15:22Z"  }}