Skip to content

Deactivate Domain List

This endpoint deactivates Domain List.

POST https://adelion.com/api/domainlist/deactivate
ParameterTypeDescriptionRequirement
IdintDomain List ID.required
JSON payload example
{
"DomainList": {
"Id": 1
}
}
Success JSON
{
"Status": "Ok",
"DomainList": {
"Id": 1,
"TeamId": 1,
"Name": "Domain List 1",
"VastTags": [
9,
10
],
"RtbEps": [
1,
2
],
"DspRtbEps": [
3,
4
],
"Campaigns": [
5,
6
],
"DspPopFeeds": [
7,
8
],
"DomainCount": 16063,
"Global": 0,
"Status": 1,
"StatusString": "Inactive"
}
}
Error JSON
{
"Status": "Error",
"Error": "[error description]"
}
CodeStatusMeaning
400Bad RequestYou sent a body that isn’t JSON.
401UnauthorizedYour access token is invalid.
406Not AcceptableOne or more JSON values are missing or malformed, or the requested object was not found.
500Internal Server ErrorThe server encountered a problem. Try again later.