Update a Lidarr metadata profile
const url = 'https://example.com/api/v1/pcd/1/lidarr-metadata-profiles/1';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"name":"example","description":"example","layer":"user","primaryTypes":[{"id":1,"name":"example","allowed":true}],"secondaryTypes":[{"id":1,"name":"example","allowed":true}],"releaseStatuses":[{"id":1,"name":"example","allowed":true}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/pcd/1/lidarr-metadata-profiles/1 \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "description": "example", "layer": "user", "primaryTypes": [ { "id": 1, "name": "example", "allowed": true } ], "secondaryTypes": [ { "id": 1, "name": "example", "allowed": true } ], "releaseStatuses": [ { "id": 1, "name": "example", "allowed": true } ] }'Updates selected fields of an existing Lidarr metadata profile.
Partial updates are supported for edit flows. Updates remain Lidarr-only and validate value-guard constraints.
At least one mutable field must be provided. Updates use stable-name/value-guard semantics for concurrency safety.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Local metadata profile id
Request Bodyrequired
Section titled “Request Bodyrequired”Partial update payload for Lidarr metadata profile entities.
Omitted fields are preserved by the write layer.
object
Write target for the operation. Defaults to user.
object
Lidarr identifier for an album or release-status entry used by write operations.
Lidarr album type name
Whether the type is selected
object
Lidarr identifier for an album or release-status entry used by write operations.
Lidarr album type name
Whether the type is selected
object
Lidarr release status id
Lidarr release status name
Whether the status is selected
Responses
Section titled “Responses”Metadata profile updated
object
Examplegenerated
{ "success": true, "error": "example"}Validation error
object
Examplegenerated
{ "error": "example"}Database or profile not found
object
Examplegenerated
{ "error": "example"}Update failed
object
Examplegenerated
{ "error": "example"}