Edit journey

Edit journey

patch

Edit a journey

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
short_idstringRequired
Body
short_idstringRead-onlyOptional
titlestringOptional
descriptionstring | nullableOptional
is_activebooleanOptionalDefault: false
is_templatebooleanOptionalDefault: false
has_published_journeybooleanRead-onlyOptional
has_unpublished_changesbooleanOptional
date_publishedstring · date-timeRead-onlyOptional
is_configuredstringRead-onlyOptional
num_actionsintegerRead-onlyOptional
Responses
200Success
application/json
patch
v1/journeys/{short_id}/
Python

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())   

Last updated