---
title: "Anonymize a given profile."
method: POST
path: "/profiles/{profileId}/anonymize"
tags: ["Profiles"]
---

# Anonymize a given profile.

`POST /profiles/{profileId}/anonymize`

## Path parameters

- `profileId` number, required

## Headers

- `X-Organization-Id` string, required

## Response `200`

Response

- ProfileResponse
  - `photoId` number — Photo ID
  - `taxId` string — Tax ID
  - `companyTaxId` string — Company tax ID
  - `statusId` number — Profile Status ID. Deprecated: Use statuses instead.
  - `firstName` string — First name
  - `lastName` string — Last name
  - `email` string — Email address
  - `phone` string — Phone number
  - `cellPhone` string — Cellphone number
  - `birthday` string, date — Birthday
  - `gender` string — Gender
  - `companyName` string — Company name
  - `address1` string — Address line 1
  - `address2` string — Address line 2
  - `city` string — City
  - `country` string — Two digit Country Code. ISO 3166-1 alpha-2
  - `countryName` string — Country name
  - `state` string — State
  - `zip` string — ZIP code
  - `documentType` string — Document type
  - `documentNumber` string — Document number
  - `documentIssueDate` string, date — Document issue date
  - `documentIssuingCountry` string — Document issue country. ISO 3166-1 alpha-2
  - `documentExpirationDate` string, date — Document expiration date
  - `isOptIn` boolean — Opt-in status
  - `id` string — Profile's unique identifier
  - `organizationId` string — Organization ID
  - `statusName` string — Profile Status Name. Deprecated: Use statuses instead.
  - `statuses` object[] — All statuses for this profile across all properties
    - `id` integer — Status ID
    - `name` string — Status name
  - `isMerged` boolean — Merged status. Merged profiles are no longer active in the Cloudbeds system
  - `isRepeatGuest` boolean — Repeat-guest status
  - `dateCreated` string, date-time — Creation date. Date/Time string based on RFC 3339 (Y-m-dTH:i:sP)
  - `dateModified` string, date-time — Modification date. Date/Time string based on RFC 3339 (Y-m-dTH:i:sP)
  - `dateAnonymized` string, date-time — Anonymization date. Date/Time string based on RFC 3339 (Y-m-dTH:i:sP)
  - `parentId` string — Profile's parent unique identifier
  - `photo` ProfilePhoto
    - `fileId` string — Photo unique identifier
    - `path` string — Photo URL
    - `croppedImage` string — Cropped photo URL
    - `height` integer — Photo height
    - `width` integer — Photo width
    - `cropParam` object — Crop parameters
      - `width` number — Cropped photo width
      - `height` number — Cropped photo height
      - `x` number — X coordinate of the top-left corner of the cropped photo
      - `y` number — Y coordinate of the top-left corner of the cropped photo
  - `isAnonymizationAvailable` boolean — Anonymization availability status

## Other responses

- `400` — Anonymization failed
- `403` — Forbidden
- `404` — Profile not found
- `405` — Method Not Allowed
- `409` — Anonymization is not available
- `422` — Profile is already anonymized
- `428` — GDPR is disabled
- `5XX` — An error occurred interacting with the API.

---

[API](https://skmtc.net/cloudbeds/apis/cloudbeds-api.md) · [All operations](https://skmtc.net/cloudbeds/apis/cloudbeds-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudbeds/cloudbeds-api/versions/2faa857793e8/schema)
