Cancel Scheduled Migration

This endpoint allows you to delete a given scheduled migration.

Path Parameters

subscriptionIdIntegerThe Fusebill generated ID of the subscription whose scheduled migration you wish to cancel
curl -X DELETE "{subscriptionId}/migrate" \
-H "Content-Type: application/json" \
-H "Authorization: Basic {APIKey}"
//query parameter
int queryParameter = {subscriptionId};
//Setup API key
string apiKey = "{APIKey}";
//Configure URI
WebRequest request = WebRequest.Create("HTTPS://"+queryParameter+"/migrate");
//Add Content type
request.ContentType = "application/json";
//Add Api key authorization
request.Headers.Add(HttpRequestHeader.Authorization, "Basic "+apiKey);
//Set request method
request.Method = "DELETE";
//Perform the request
var httpResponse = (HttpWebResponse)request.GetResponse();
//Record the response from our request
var result = "";
using (var streamReader = new StreamReader(httpResponse.GetResponseStream()))
  result = streamReader.ReadToEnd();
#Import library Requests
import requests
#Define your header parameters
headers = {'Authorization' : 'Basic {API Key}', 'Content-Type' : 'application/json'}
#Pass in your URI and headers and store the response object
r = requests.delete('{subscriptionId}/migrate', headers=headers)
Upon success this call returns 204 No Content
    "ErrorId": 0,
    "HttpStatusCode": 404,
    "Errors": [
            "Key": "Api Error",
            "Value": "ScheduledMigration with id 11530673 not found."