Cancel Outbound Calls

Cancelling All Pending Outbound Calls

DELETE https://fuse.plumvoice.com/api/apps/{application_id}/{deployment_id}/cancel

Cancel all pending outbound calls

Path Parameters

Name
Type
Description

application_id

string

Application ID number.

To find this number, see the following instructions from Outbound Calls.

deployment_id

string

Deployment ID number.

To find this number, see the following instructions from Outbound Calls.

No response body returned in either JSON or XML

Possible Response Codes

  • 202: calls successfully canceled

  • 401: authentication headers invalid or the account is inactive

  • 403: the account attempting to cancel calls does not have appropriate permissions

  • 404: user, deployment, or application not found

  • 405: invalid HTTP method supplied (only DELETE allowed)

  • 500: database error

The return structure contains the following item(s):

Note: No body is returned for a successful response (HTTP code 202).

Name

Data Type

Always Present

Description

error

string

no

If the HTTP code is not 202, this provides a message indicating what error occurred.

Sample Code

This sample PHP code that makes a request to this method:

Last updated