Owner or manager: erase a client's personal details in every record, for an erasure request. Irreversible. Bookings, payments and ledgers keep their amounts and dates. A client with saved cards also needs payments:write, because the cards are removed at Stripe first

post/api/v1/clients/{id}/erase

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/clients/{id}/erase
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Path parameters

idstring required

Request body

confirmtrue required
reasonstring required

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.