mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-27 09:15:07 +02:00
1.1 KiB
1.1 KiB
title
| title |
|---|
| Anime Theme Entry Destroy |
Anime Theme Entry Destroy Endpoint
The anime theme entry destroy endpoint soft deletes an anime theme entry and returns the deleted anime theme entry resource.
For example, the /animethemeentry/3822 endpoint will soft delete the V2 entry for the ED1 theme of the Bakemonogatari anime and return the deleted anime theme entry resource.
URL
DELETE /animethemeentry/{id}
Authentication
Required Permission: delete anime theme entry
Roles with Permission: Content Moderator, Encoder, Admin
Other Requirements: Anime theme entry must not be soft deleted
Parameters
None
Response
{
animethemeentry: {
id: id,
version: version,
episodes: "episodes",
nsfw: nsfw,
spoiler: spoiler,
notes: "notes",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at"
}
}
Example
curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/animethemeentry/3822