Remove a featured post
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/media-kits/{id}/featured-posts/{postId} \
--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/media-kits/{id}/featured-posts/{postId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/media-kits/{id}/featured-posts/{postId}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Media kits
Remove a featured post
Removes a featured post from the media kit. The post itself is not deleted. Returns 204 with no body.
DELETE
/
api
/
v2
/
media-kits
/
{id}
/
featured-posts
/
{postId}
Remove a featured post
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/media-kits/{id}/featured-posts/{postId} \
--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/media-kits/{id}/featured-posts/{postId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/media-kits/{id}/featured-posts/{postId}"
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?