---
title: "Anonymize text"
method: POST
path: "/anonymize/text"
tags: ["Anonymize"]
---

# Anonymize text

`POST /anonymize/text`

Replace sensitive data patterns (credentials, keys, PII, etc.) in the provided text with safe placeholders.

## Request body

- ServicesAnonymizeTextRequest
  - `text` string, required

## Response `200`

anonymized text returned successfully

- object
  - `data` object
    - `text` string
  - `status` string

## Other responses

- `400` — invalid request body
- `403` — anonymize.call permission required
- `503` — anonymizer is not configured

## Changes

- **2026-05-12** `83a0e24bd42d` — 1 info
  - endpoint added
- **2026-03-26** `fe95938acc20` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/vxcontrol/apis/pentagi-swagger-api/changes/anonymize/text/post.md)

---

[API](https://skmtc.dev/vxcontrol/apis/pentagi-swagger-api.md) · [All operations](https://skmtc.dev/vxcontrol/apis/pentagi-swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vxcontrol/pentagi-swagger-api/revisions/7c1cbf7abaa1/schema)
