Files
animethemes-api-docs/docs/jsonapi/reference/content/artistsong/destroy/index.md
T
2025-12-17 22:53:18 -03:00

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