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