mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
863 B
863 B
title
| title |
|---|
| Song Resource Destroy |
Song Resource Destroy Endpoint
The song resource destroy endpoint deletes an song resource and returns the deleted song resource resource.
For example, the /songresource/10535/30212 endpoint will delete the association between the Mijuku DREAMER song and the external resource of id 30212.
URL
DELETE /songresource/{song:id}/{resource:id}
Authentication
Required Permission: delete song, delete external resource
Roles with Permission: Wiki Editor, Encoder, Admin
Parameters
None
Response
{
message: "Resource 'https://open.spotify.com/track/6f9SU0JwNjVDjduReyFpAd?si=2719f3d5bd014f17' has been detached from Song 'Mijuku DREAMER'.",
}
Example
curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/songresource/10535/30212