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