Files
animethemes-api-docs/docs/anime/destroy
paranarimasuandGitHub 57dd7eecd7 fix: update links to production domain (#23)
* fix: update links to production domain

* add missing README change
2022-05-31 20:46:45 -05:00
..

title
title
Anime Destroy

Anime Destroy Endpoint

The anime destroy endpoint soft deletes an anime and returns the deleted anime resource.

For example, the /api/anime/bakemonogatari endpoint will soft delete the Bakemonogatari anime and return the deleted Bakemonogatari resource.

URL

DELETE /api/anime/{slug}

Authentication

Required Permission: delete anime

Roles with Permission: Wiki Editor, Admin

Parameters

None

Response

{
    anime: {
        id: id,
        name: "name",
        slug: "slug",
        year: year,
        season: "season",
        synopsis: "synopsis",
        created_at: "created_at",
        updated_at: "updated_at",
        deleted_at: "deleted_at"
    }
}
```bash curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/anime/bakemonogatari ```