DELETE /backgrounds/{file}

Delete a backgrounds file

Remove a backgrounds file previously uploaded

DELETE /backgrounds/mountains.png

(empty request body)

Success response:

Status: 204 No Content

Failed response:

Status: 404 Not found
Content-Type: application/problem+json
Content-Language: en
{
    "type": "https://nethesis.github.io/tancredi/problems#not-found",
    "title": "Resource not found"
}

or:

Status: 400
{
    "type": "https://nethesis.github.io/tancredi/problems/#malformed-data",
    "title": "Invalid file name"
}

Copyright © 2020 Nethesis Srl