Description
Delete a story version.
Request
HTTP Method: DELETE
| Path Parameter | Description |
|---|---|
| story_id | The ID of the story. |
| version_id | The ID of the story version to delete. |
curl -X DELETE \
https://<<META.tenant.domain>>/api/v1/stories/<<story_id>>/versions/<<version_id>> \
-H 'content-type: application/json' \
-H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'
Response
A successful request will return the JSON object describing the deleted story version with a 200 status code.
Field description
| Parameter | Description |
|---|---|
| destroyed_id | story version ID. |
Sample response
{
"destroyed_id": 1
}