Adds numbers to the domain's blocked-number list, kept on the domain's system user domain.Requires Office Manager scope for your own domain, or Reseller or Super User scope.Send the numbers in phone-numbers-to-reject.parameters. Each one is added to the list, or updated if it is already there. Numbers you leave out stay on the list. A single number in place of the list is taken as a one-item list.To pause or resume the whole list, send phone-numbers-to-reject with enabled set to no or yes and an empty parameters list. Every number already on the list takes that setting.The list always belongs to the default answering rule. A time-frame in the request is ignored. A 202 means the change is accepted and applied shortly after. PUT on the same path behaves the same way.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Body Params application/json
Examples
Responses
🟢202Accepted
application/json
Accepted. The change is applied shortly after. Read the list again to see the result.