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