Skip to main content
DELETE
/
defaultsettings
/
{entityType}
/
{entityId}
/
{settingId}
Delete Default Setting (Entity-Specific)
curl --request DELETE \
  --url https://api.royalti.io/defaultsettings/{entityType}/{entityId}/{settingId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Default setting deleted successfully"
}

Description

DELETE /defaultsettings/// Description: Permanently delete a default setting for a specific entity (label, artist, or user). This action cannot be undone. Entity Types (for this endpoint):
  • label - Label-specific defaults (entityId required)
  • artist - Artist-specific defaults (entityId required)
  • user - User-specific defaults (entityId required)
Note: For tenant or catalog-level defaults, use the DELETE /defaultsettings/{entityType}/{settingId} endpoint instead (without entityId). Method: DELETE Path Parameters:
ParameterTypeDescriptionRequired
entityTypestringType of entity (label, artist, or user)Yes
entityIduuidEntity IDYes
settingIduuidID of the setting to deleteYes

Code Examples

const response = await fetch('https://api.royalti.io/defaultsettings/example-id/example-id/example-id', {
  method: 'DELETE',
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

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

Path Parameters

entityType
enum<string>
required

Type of entity (label, artist, or user only)

Available options:
label,
artist,
user
entityId
string<uuid>
required

Entity ID

settingId
string<uuid>
required

ID of the setting to delete

Response

Default setting deleted successfully

success
boolean
Example:

true

message
string
Example:

"Default setting deleted successfully"