Update a tag
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/org/tags/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"title": "<string>",
"emoji": "<string>"
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({title: '<string>', emoji: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/org/tags/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/org/tags/{id}"
payload = {
"title": "<string>",
"emoji": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"tag": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"emoji": "<string>",
"type": "post"
}
}Organization
Update a tag
Updates tag title or emoji.
PATCH
/
api
/
v2
/
org
/
tags
/
{id}
Update a tag
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/org/tags/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"title": "<string>",
"emoji": "<string>"
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({title: '<string>', emoji: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/org/tags/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/org/tags/{id}"
payload = {
"title": "<string>",
"emoji": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"tag": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"emoji": "<string>",
"type": "post"
}
}Authorizations
Body
application/json
Was this page helpful?