EN
Español
English
Português
    Devices/Delete files of a specific extension on a device

    Request Details/Remove files of a specific extension on a device

    Verb:POST
    URL: {url}/device/{id}/extension/{extension}]


    Parameters

    Parameters for this request that must be sent in the body of the request:

    Field Description Guy Obligatory Possible values
    Id Represents the identifier of the device to which the files are to be deleted Whole Yes -
    Extension The extension of the file you want to remove from the device. Text Yes jpg, png, pdf, etc…


    Answer

    • Code: 200 – Successful Answer:True
    • Code: 400 - Bad request Answer: Error Description Message
    • Code: 500 - Internal Error Server Answer: Error Description Message

    • BadRequest if the extension is empty. If the device ID is not greater than 1
    • ValidationError If one of the required values is not sent