Completely Update Application

PUT update will replace ALL existing fields.

Request URL

PUThttps://dashboard.bandwidth.com/api/accounts/{{account}}/applications/{{applicationId}}

Basic Authentication

Bandwidth's Account API leverages Basic Authentication with your Dashboard API Credentials. Read more about how Bandwidth secures endpoints in the Security & Credentials document.

Supported Parameters

Parameters Mandatory Description
AppName Yes Plain text name of the application
CallbackUrl Yes Url to receive either message events or voice events
CallbackCreds No Basic auth credentials
CallbackCreds.UserId No Basic auth UserId
CallbackCreds.Password No Basic auth Password

Example 1 of 1: Remove the CallbackCreds from an application

PUT https://dashboard.bandwidth.com/api/accounts/{{accountId}}/applications/{{applicationId}} HTTP/1.1
Content-Type: application/xml; charset=utf-8
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=

<Application>
    <AppName>Production Server</AppName>
    <CallbackUrl>https://yourSecureSite.com/callbacks</CallbackUrl>
</Application>

Response

HTTP/1.1 200 OK
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ApplicationProvisioningResponse>
    <Application>
        <ApplicationId>d775585a-ed5b-4a49-8b96-f68c0a993ebe</ApplicationId>
        <ServiceType>Messaging-V2</ServiceType>
        <AppName>Production Server</AppName>
        <CallbackUrl>https://yourSecureSite.com/callbacks</CallbackUrl>
    </Application>
</ApplicationProvisioningResponse>

results matching ""

    No results matching ""