# anonymize_booking Behavior, inputs, outputs and permissions for anonymize_booking. Source: https://docs.getridian.com/developers/tools/anonymize_booking/ Language: en Reviewed: 2026-10-06 This reference is generated from the published tool contract. ## Behavior and boundaries Removes the booker's personal data from a booking, for example after a deletion request: name, email, phone, form answers, cancellation reason and the link to a lead are cleared, and the booker's manage link, reminders and the booking's webhook deliveries are deleted. Time, host and status stay so availability and counts remain correct. Works for cancelled bookings too. The host's calendar event is not changed. Cannot be undone; confirm with the user first. ## Permissions Granted scopes, accounts, calendars and visibility rules limit access. Workspace administrators do not automatically gain access to other users’ accounts. `bookings:write` [Consent and boundaries](https://docs.getridian.com/developers/authentication/) ## Input ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "booking_id": { "type": "string", "minLength": 1, "maxLength": 64, "description": "booking_id from list_bookings." } }, "required": [ "booking_id" ], "additionalProperties": false } ``` ## Output ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "booking_id": { "type": "string" }, "anonymized": { "type": "boolean" }, "already_anonymized": { "type": "boolean" }, "console_url": { "type": "string" } }, "required": [ "booking_id", "anonymized", "already_anonymized", "console_url" ], "additionalProperties": false } ``` ## Errors and retries Check the tool result for errors. Do not blindly retry writes after a timeout. Check the current resource or send status first. [Error handling](https://docs.getridian.com/developers/errors/)