Remove a campaign post
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/{pid} \
--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}/posts/{pid}', 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}/posts/{pid}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Campaign posts and stories
Remove a campaign post
Removes a post from the campaign without deleting the underlying catalog post.
DELETE
/
api
/
v2
/
campaigns
/
{cid}
/
posts
/
{pid}
Remove a campaign post
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/{pid} \
--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}/posts/{pid}', 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}/posts/{pid}"
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?