import requests response = requests.delete( "https://journeys-api.50skills.app/v1/company/lists/{short_id}/", ) print(response.json())
fetch("https://journeys-api.50skills.app/v1/company/lists/{short_id}/", { method: "DELETE" }) .then(response => { if (response.ok) { console.log("Journey deleted successfully"); } else { console.error("Failed to delete journey"); } }) .catch(error => console.error(error));
Last updated 1 year ago
Edit a company list
{ "id": "text", "short_id": "text", "name": "text", "source": "text", "options": [ { "short_id": "text", "value": "text", "label": "text", "order": 0 } ], "num_options": "text" }