Puts the number on the practice's do-not-text list for both SMS and WhatsApp, keeping an entry a client's STOP made; workflow steps, request and chase texts and the Messages page then send it nothing. Safe to repeat. Returns the number as it now stands. Contact editors may add a number a contact holds; a number on no contact needs Messaging Admin (403). 400 for a number that cannot be read; 409 messaging_not_set_up while the practice's messaging is not set up; 503 when the Messaging Service is unavailable.
Requires at least one of: Update on Contacts or Admin on Messaging.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| number* | path string | |
Responses
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden
409 Conflict
503 Service Unavailable