Delete an activity comment
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/activity/{aid} \
--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}/activity/{aid}', 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}/activity/{aid}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Campaigns
Delete an activity comment
Deletes an activity comment. The comment’s author can delete it, and so can an organization admin signed in to CreatorCore. API keys can only delete comments posted as the key’s user. Returns 403 otherwise. Deleting a comment that no longer exists still returns 204.
DELETE
/
api
/
v2
/
campaigns
/
{cid}
/
activity
/
{aid}
Delete an activity comment
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/activity/{aid} \
--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}/activity/{aid}', 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}/activity/{aid}"
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?