Update a folder
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/folders/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '{}'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://beta.creatorcore.co/api/v2/folders/{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/folders/{id}"
payload = {}
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,
"folder": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "list",
"title": "<string>",
"slug": "<string>",
"thumbnail": "<string>",
"partnerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"partnerName": "<string>",
"partnerLogo": "<string>",
"itemCount": 1,
"shareSettings": {
"showItemStats": true
},
"passwordEnabled": true,
"hasPassword": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"publicUrl": "<string>",
"shortUrl": "<string>",
"items": [
{
"resourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"slug": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"kind": "list",
"creatorCount": 1,
"budget": "<string>",
"previewAvatars": [
{
"profileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"profilePicture": "<string>"
}
],
"partner": {
"name": "<string>",
"logo": "<string>"
}
}
]
}
}Folders
Update a folder
Updates the folder’s title, thumbnail, partner, share settings, or share-link password. Omitted fields are unchanged.
PATCH
/
api
/
v2
/
folders
/
{id}
Update a folder
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/folders/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '{}'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://beta.creatorcore.co/api/v2/folders/{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/folders/{id}"
payload = {}
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,
"folder": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "list",
"title": "<string>",
"slug": "<string>",
"thumbnail": "<string>",
"partnerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"partnerName": "<string>",
"partnerLogo": "<string>",
"itemCount": 1,
"shareSettings": {
"showItemStats": true
},
"passwordEnabled": true,
"hasPassword": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"publicUrl": "<string>",
"shortUrl": "<string>",
"items": [
{
"resourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"slug": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"kind": "list",
"creatorCount": 1,
"budget": "<string>",
"previewAvatars": [
{
"profileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"profilePicture": "<string>"
}
],
"partner": {
"name": "<string>",
"logo": "<string>"
}
}
]
}
}Authorizations
Body
application/json
Was this page helpful?