Delete a saved snippet

DELETE https://your-org.veloxatalk.com/api/v1/saved_snippets/{saved_snippet_id}

Delete a saved snippet.

Changes: New in Veloxa Talk 10.0 (feature level 297).

Usage examples

The -u line implements HTTP Basic authentication. See the Authorization header documentation for how to get those credentials for Veloxa Talk users and bots.

curl -sSX DELETE https://your-org.veloxatalk.com/api/v1/saved_snippets/2 \
    -u EMAIL_ADDRESS:API_KEY

Parameters

saved_snippet_id integer required in path

Example: 2

The ID of the saved snippet to delete.


Response

Example response(s)

Changes: As of Veloxa Talk 7.0 (feature level 167), if any parameters sent in the request are not supported by this endpoint, a successful JSON response will include an ignored_parameters_unsupported array.

A typical successful JSON response may look like:

{
    "msg": "",
    "result": "success"
}

A typical failed JSON response for when no saved snippet exists with the provided ID:

{
    "code": "BAD_REQUEST",
    "msg": "Saved snippet does not exist.",
    "result": "error"
}