mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-30 02:29:26 +02:00
852 B
852 B
title
| title |
|---|
| Series Destroy |
Series Destroy Endpoint
The series destroy endpoint soft deletes a series and returns the deleted series resource.
For example, the /series/monogatari endpoint will soft delete the Monogatari series and return the deleted Monogatari resource.
URL
DELETE /series/{slug}
Authentication
Required Permission: delete series
Roles with Permission: Content Moderator, Encoder, Admin
Other Requirements: Series must not be soft deleted
Parameters
None
Response
{
series: {
id: id,
name: "name",
slug: "slug",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at"
}
}
Example
curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/series/monogatari