Skip to content

Revoke cold-calling consent
Customers

Request

Revokes the cold-calling consent for a customer. Requires SITE_CUSTOMER:WRITE permission and RS:CUSTOMER_UPDATE right.

Behavior:

  • Sets a revocation date on the consent record.
  • Deletes all associated proof files from storage.
  • If no consent exists, the operation still returns 204.
Security
bearerAuth
Path
customerIdintegerrequired

Unique identifier of the customer.

Example:789
curl -i -X DELETE \
  https://api-doc.immo-facile.com/_mock/openapi/customers/789/consent \
  -H 'Authorization: Bearer <YOUR_opaque_HERE>'

Responses

Consent revoked successfully

Response
No content