Update a past collaboration
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/media-kits/{id}/past-collabs/{collabId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"image": "<string>",
"description": "<string>",
"link": "<string>",
"rank": 1
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({image: '<string>', description: '<string>', link: '<string>', rank: 1})
};
fetch('https://beta.creatorcore.co/api/v2/media-kits/{id}/past-collabs/{collabId}', 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}/past-collabs/{collabId}"
payload = {
"image": "<string>",
"description": "<string>",
"link": "<string>",
"rank": 1
}
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,
"collab": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"image": "<string>",
"description": "<string>",
"link": "<string>",
"rank": 123
}
}Media kits
Update a past collaboration
Updates a past collaboration, including rank for reordering. Returns 404 if it is not on this kit.
PATCH
/
api
/
v2
/
media-kits
/
{id}
/
past-collabs
/
{collabId}
Update a past collaboration
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/media-kits/{id}/past-collabs/{collabId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"image": "<string>",
"description": "<string>",
"link": "<string>",
"rank": 1
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({image: '<string>', description: '<string>', link: '<string>', rank: 1})
};
fetch('https://beta.creatorcore.co/api/v2/media-kits/{id}/past-collabs/{collabId}', 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}/past-collabs/{collabId}"
payload = {
"image": "<string>",
"description": "<string>",
"link": "<string>",
"rank": 1
}
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,
"collab": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"image": "<string>",
"description": "<string>",
"link": "<string>",
"rank": 123
}
}Authorizations
Body
application/json
Was this page helpful?