Stop a migration
curl --request DELETE \
--url https://api.social-api.ai/v1/migrations/{provider} \
--header 'Authorization: <api-key>'const options = {method: 'DELETE', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/migrations/{provider}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/migrations/{provider}"
headers = {"Authorization": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Migration
Stop a migration
Stops the migration from a provider. Requests sent through the base URL with that key stop working. Dashboard sessions only; API keys get 403.
DELETE
/
migrations
/
{provider}
Stop a migration
curl --request DELETE \
--url https://api.social-api.ai/v1/migrations/{provider} \
--header 'Authorization: <api-key>'const options = {method: 'DELETE', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/migrations/{provider}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/migrations/{provider}"
headers = {"Authorization": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}