Skip to main content

Update Phone Number

PUT /api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id} — request parameters and responses from the Menace Voice API schema.
3 min read
put/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id}
Request example
Response
put/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id}

See authentication for workspace API access. Public embed and artifact endpoints use their documented session or access tokens.

Path parameters

config_idintegerrequired#
phone_number_idintegerrequired#

Headers

authorizationstring · null#
X-API-Keystring · null#

Body

application/json
labelstring · null#
Show child attributes
inbound_workflow_idinteger · null#
Show child attributes
clear_inbound_workflowboolean#

Default: false

telephony_trunk_idinteger · null#
Show child attributes
clear_trunkboolean#

Default: false

is_activeboolean · null#
Show child attributes
country_codestring · null#
Show child attributes
extra_metadataobject · null#
Show child attributes

Responses

application/json
Successful Response
idintegerrequired#
telephony_configuration_idintegerrequired#
addressstringrequired#
address_normalizedstringrequired#
address_typestringrequired#
country_codestring · null#
Show child attributes
labelstring · null#
Show child attributes
inbound_workflow_idinteger · null#
Show child attributes
inbound_workflow_namestring · null#
Show child attributes
telephony_trunk_idinteger · null#
Show child attributes
is_activebooleanrequired#
is_default_caller_idbooleanrequired#
extra_metadataobjectrequired#
created_atstringrequired#
updated_atstringrequired#
provider_syncobject · null#
Show child attributes