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