artist/
Description:
The /artist/{id}
endpoint allows deleting a specific artist identified by their unique ID.
Method:
DELETE
Path Parameter:
Parameter | Type | Description |
---|---|---|
id | string | The unique identifier of the artist. |
curl --request DELETE \
--url https://server26-dot-royalti-project.uc.r.appspot.com/artist/{id} \
--header 'Authorization: Bearer <token>'
{
"message": "Artist deleted successfully"
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Artist ID
Success
The response is of type object
.
curl --request DELETE \
--url https://server26-dot-royalti-project.uc.r.appspot.com/artist/{id} \
--header 'Authorization: Bearer <token>'
{
"message": "Artist deleted successfully"
}