Skip to main content
DELETE
/
artist
/
{id}
Delete Artist
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/artist/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Artist deleted successfully"
}
artist/ Description:
The /artist/{id} endpoint allows deleting a specific artist identified by their unique ID.
Method:
DELETE
Path Parameter:
ParameterTypeDescription
idstringThe unique identifier of the artist.

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Path Parameters

ParameterTypeInRequiredDescription
idstringpathArtist ID

Responses

✅ 200 - Success

⚠️ 401 - Unauthorized

⚠️ 404 - Not Found

❌ 500 - Internal Server Error

Tags

Artist

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

Artist ID

Response

Success

message
string
I