VTEX · Capability

VTex Data Subject Rights API - PII data architecture — Data Subject Rights

VTex Data Subject Rights API - PII data architecture — Data Subject Rights. 1 operations. Lead operation: VTex Erase customer data. Self-contained Naftiko capability covering one Vtex business surface.

Run with Naftiko VtexData Subject Rights

What You Can Do

POST
Post — VTex Erase customer data
/v1/api/user-rights/createandprocessdeleteuserdata

MCP Tools

vtex-erase-customer-data

VTex Erase customer data

Capability Spec

data-subject-rights-data-subject-rights.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: VTex Data Subject Rights API - PII data architecture — Data Subject Rights
  description: 'VTex Data Subject Rights API - PII data architecture — Data Subject Rights. 1 operations. Lead operation:
    VTex Erase customer data. Self-contained Naftiko capability covering one Vtex business surface.'
  tags:
  - Vtex
  - Data Subject Rights
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VTEX_API_KEY: VTEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: data-subject-rights-data-subject-rights
    baseUri: http://api.vtex.com
    description: VTex Data Subject Rights API - PII data architecture — Data Subject Rights business capability. Self-contained,
      no shared references.
    resources:
    - name: api-user-rights-createAndProcessDeleteUserData
      path: /api/user-rights/createAndProcessDeleteUserData
      operations:
      - name: post
        method: POST
        description: VTex Erase customer data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: X-VTEX-API-AppKey
      value: '{{env.VTEX_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: data-subject-rights-data-subject-rights-rest
    port: 8080
    description: REST adapter for VTex Data Subject Rights API - PII data architecture — Data Subject Rights. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/user-rights/createandprocessdeleteuserdata
      name: api-user-rights-createandprocessdeleteuserdata
      description: REST surface for api-user-rights-createAndProcessDeleteUserData.
      operations:
      - method: POST
        name: post
        description: VTex Erase customer data
        call: data-subject-rights-data-subject-rights.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: data-subject-rights-data-subject-rights-mcp
    port: 9090
    transport: http
    description: MCP adapter for VTex Data Subject Rights API - PII data architecture — Data Subject Rights. One tool per
      consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: vtex-erase-customer-data
      description: VTex Erase customer data
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: data-subject-rights-data-subject-rights.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.