Delete an auto-add rule
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/auto-add-rules/{ruleId} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/auto-add-rules/{ruleId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/campaigns/{cid}/auto-add-rules/{ruleId}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Campaign automation
Delete an auto-add rule
Deletes an auto-add rule so it stops adding matching posts to the campaign. Posts it already added stay. Returns 204 with no body.
DELETE
/
api
/
v2
/
campaigns
/
{cid}
/
auto-add-rules
/
{ruleId}
Delete an auto-add rule
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/auto-add-rules/{ruleId} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/auto-add-rules/{ruleId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/campaigns/{cid}/auto-add-rules/{ruleId}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Authorizations
Response
Deleted
Was this page helpful?