Skip to main content
DELETE
/
defaultsettings
/
{entityType}
/
{entityId}
/
{settingId}
Delete Default Setting
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. This action cannot be undone. Method: DELETE Path Parameters:
ParameterTypeDescriptionRequired
entityTypestringType of entityYes
entityIduuidEntity ID (optional for tenant/catalog)Conditional
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
Available options:
tenant,
label,
artist,
user,
catalog
entityId
string<uuid>
required
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"