Delete Journey Edge
(v2)DELETE
Permanently deletes an edge, along with every state that could only be reached through it, and returns the ids of the states removed. Goldens generated for a path through the edge or those states are kept but no longer belong to any path.
curl -X DELETE "https://api.confident-ai.com/v2/journeys/{journeyId}/edges/{edgeId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "<JOURNEY-EDGE-ID>",
"deletedStateIds": []
},
"link": "https://app.confident-ai.com/project/<PROJECT-ID>/journeys/<JOURNEY-ID>",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
journeyIdstringRequiredThe id of the journey the edge belongs to.
edgeIdstringRequiredThe id of the edge.
Response
Delete Journey Edge succeeded.
successbooleanIndicates if the request was successful.
dataobjectThe states removed by deleting an edge from a journey.
Show 2 propertiesHide 2 properties
idstringThe id of the edge you deleted.
deletedStateIdslist of stringsThe states that could only be reached through this edge, removed with it.
[]when every state is still reachable.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.