Required Permissions
sources:admin:update
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Path Parameters
Parameter | Type | In | Required | Description |
---|---|---|---|---|
id | string | path | ✅ | Royalty source ID |
Request Body
Request Schema
Field | Type | Required | Description |
---|---|---|---|
name | string | ❌ | |
label | string | ❌ | |
startDate | string | ❌ | |
endDate | string | ❌ | |
dataQuery | string | ❌ | |
fileNameFormat | string | ❌ | |
schema | object | ❌ | |
delimiter | string | ❌ | |
type | string | ❌ | |
tableNameFormat | string | ❌ | |
format | string | ❌ | |
headerRows | integer | ❌ | |
public | boolean | ❌ |
Responses
✅ 200 - Royalty source updated successfully
⚠️ 400 - undefined
⚠️ 401 - undefined
⚠️ 404 - undefined
❌ 500 - undefined
Tags
Sources
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Royalty source ID
Example:
"src-1"
Body
application/json
Example:
"Spotify UK"
Example:
"Spotify UK"
Example:
"2021-01-01"
Example:
"2025-12-31"
Response
Royalty source updated successfully
Example:
"RoyaltySource updated successfully"