mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
971 B
971 B
title
| title |
|---|
| Anime Destroy |
Anime Destroy Endpoint
The anime destroy endpoint soft deletes an anime and returns the deleted anime resource.
For example, the /anime/bakemonogatari endpoint will soft delete the Bakemonogatari anime and return the deleted Bakemonogatari resource.
URL
DELETE /anime/{slug}
Authentication
Required Permission: delete anime
Roles with Permission: Content Moderator, Encoder, Admin
Other Requirements: Anime must not be soft deleted
Parameters
None
Response
{
anime: {
id: id,
name: "name",
slug: "slug",
year: year,
season: "season",
media_format: "media_format",
synopsis: "synopsis",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at"
}
}
Example
curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/anime/bakemonogatari