mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
838 B
838 B
title
| title |
|---|
| Studio Resource Destroy |
Studio Resource Destroy Endpoint
The studio resource destroy endpoint deletes a studio resource and returns the deleted studio resource resource.
For example, the /studioresource/shaft/14891 endpoint will delete the association between the Shaft studio and the external resource of id 14891.
URL
DELETE /studioresource/{studio:slug}/{resource:id}
Authentication
Required Permission: delete studio, delete external resource
Roles with Permission: Wiki Editor, Encoder, Admin
Parameters
None
Response
{
message: "Resource 'https://myanimelist.net/anime/producer/44' has been detached from Studio 'Shaft'.",
}
Example
curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/studioresource/shaft/14891