Edit journey
Request samples
import requests
response = requests.patch(
"https://journeys-api.50skills.app/v1/journeys/{short_id}/",
json={
"title": "To Rivendell",
"description": "A dangerous journey to Rivendell",
"isActive": true,
"isTemplate": false,
}
)
print(response.json())
fetch("https://journeys-api.50skills.app/v1/journeys/ekbCvmCd", {
method: "PATCH",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"title": "To Rivendell",
"description": "A dangerous journey to Rivendell",
"isActive": true,
"isTemplate": false
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
Last updated