Update a Blocked Phone Number

View as Markdown

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:)>.

OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired

Request

This endpoint expects an object.
reasonstringRequired
The updated reason for blocking the given phone number.

Response

Successful response
created_bystring
User who created this Blocked Number initially.
date_createddatetime
When this Blocked Number was created.
date_updateddatetime
When this Blocked Number was last updated.
idstring
organization_idstring
phonestring

The phone number (in E.164 format) to block.

reasonstring
The reason for blocking the given phone number.
updated_bystring
User who most recently updated this Blocked Number.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error