Skip to main content
DELETE
/
sources
/
admin
/
{id}
Delete Royalty Source (Admin)
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/sources/admin/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "RoyaltySource deleted successfully"
}
Deletes a royalty source by its ID.

Required Permissions

  • sources:admin:delete

Authentication

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

Path Parameters

ParameterTypeInRequiredDescription
idstringpathRoyalty source ID

Responses

✅ 200 - Royalty source deleted successfully

⚠️ 400 - undefined

⚠️ 401 - undefined

⚠️ 404 - undefined

❌ 500 - undefined

Tags

Sources

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Royalty source ID

Example:

"src-1"

Response

Royalty source deleted successfully

message
string
Example:

"RoyaltySource deleted successfully"

I