Updates a royalty source by its ID.
sources:admin:update
curl --request PUT \
--url https://server26-dot-royalti-project.uc.r.appspot.com/sources/admin/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Spotify UK",
"label": "Spotify UK",
"startDate": "2021-01-01",
"endDate": "2025-12-31",
"dataQuery": "<string>",
"fileNameFormat": "<string>",
"schema": {},
"delimiter": "<string>",
"type": "<string>",
"tableNameFormat": "<string>",
"format": "<string>",
"headerRows": 123,
"public": true
}'
{
"message": "RoyaltySource updated successfully"
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Royalty source ID
"src-1"
Royalty source updated successfully
The response is of type object
.
curl --request PUT \
--url https://server26-dot-royalti-project.uc.r.appspot.com/sources/admin/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Spotify UK",
"label": "Spotify UK",
"startDate": "2021-01-01",
"endDate": "2025-12-31",
"dataQuery": "<string>",
"fileNameFormat": "<string>",
"schema": {},
"delimiter": "<string>",
"type": "<string>",
"tableNameFormat": "<string>",
"format": "<string>",
"headerRows": 123,
"public": true
}'
{
"message": "RoyaltySource updated successfully"
}