v1

latestSwagger 2.0Apache 2.02026-07-13123128517.6 KB
numbers

Update a lease

Updates a number lease instance. Ability to turn on/off autoRenew and toggle call/text features for a particular number

put/numbers/leases/{number}

Path parameters

numberstring required

A phone number in E.164 format (11-digit). Example: 12132000384

Request body

numberstring

A phone number in E.164 format (11-digit). Example: 12132000384

sendEmailOnCreateboolean

~

nationalFormatstring

Formatted number with a country code

tollFreeboolean

A toll-free number

leaseBegininteger

A date and time of a lease start. Timestamp, formatted in unix time milliseconds (read only). Example: 1473781817000

leaseEndinteger

A data and time of a lease finish. Timestamp, formatted in unix time milliseconds (read only). Example: 1473781817000

autoRenewboolean

Enables the auto renewal of number lease at end of each billing cycle

status'PENDING' | 'ACTIVE' | 'RELEASED' | 'UNAVAILABLE'

A lease status. Available values: PENDING, ACTIVE, RELEASED, UNAVAILABLE

callFeatureStatus'UNSUPPORTED' | 'PENDING' | 'DISABLED' | 'ENABLED'

A status of a call feature. Available values: DISABLED, ENABLED

textFeatureStatus'UNSUPPORTED' | 'PENDING' | 'DISABLED' | 'ENABLED'

A status of a text feature. Available values: DISABLED, ENABLED

labelsstring[]

~

type'PLAN' | 'EXTRA'

~