Remove a flag from a creator
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/creators/{id}/flags/{flagId} \
--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/creators/{id}/flags/{flagId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/creators/{id}/flags/{flagId}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Creator activity and ratings
Remove a flag from a creator
Returns 404 when the flag is not assigned to this creator.
DELETE
/
api
/
v2
/
creators
/
{id}
/
flags
/
{flagId}
Remove a flag from a creator
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/creators/{id}/flags/{flagId} \
--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/creators/{id}/flags/{flagId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/creators/{id}/flags/{flagId}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Authorizations
Response
Removed
Was this page helpful?