Files
animethemes-api-docs/docs/video/destroy

title
title
Video Destroy

Video Destroy Endpoint

The video destroy endpoint soft deletes a video and returns the deleted video resource.

For example, the /api/video/Bakemonogatari-OP1.webm endpoint will soft delete the Bakemonogatari-OP1.webm video and return the deleted Bakemonogatari-OP1.webm resource.

URL

DELETE /api/video/{basename}

Authentication

Required Permission: delete video

Roles with Permission: Admin

Parameters

None

Response

{
    video: {
        id: id,
        basename: "basename",
        filename: "filename",
        path: "path",
        size: size,
        mimetype: "mimetype",
        resolution: resolution,
        nc: nc,
        subbed: subbed,
        lyrics: lyrics,
        uncen: uncen,
        source: "source",
        overlap: "overlap",
        created_at: "created_at",
        updated_at: "updated_at",
        deleted_at: "deleted_at",
        tags: "tags",
        link: "link"
    }
}
```bash curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/video/Bakemonogatari-OP1.webm ```