Empties one platform link on an artist, for any whitelisted user or admin, not only the claimant. The contributor's original submission is kept so their credit stands. For wallets, only the artist's own ID is removed from the list. For Spotify or Deezer, disconnect requires expectedValue, the account ID actually displayed to the user (explicit null means an empty slot). The server rechecks the current identity, claim generation and authorization, archives the complete matching mapping provenance privately, removes that active mapping, clears the direct link and cancels pending identity-match jobs atomically. A stale or divergent mapping is refused for review. No exclusion is added, and a later explicit valid replacement still uses normal collision checks. The private archive is not returned.
POST/api/removeArtistData
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>. The signed-in user's access token. Copy it at https://musicnerd.net/access after signing in. Link writes need the artist's approved claimant or a Music Nerd admin; removeArtistData accepts any whitelisted user too.
Body
application/jsonrequired
artistIdstringrequired
format: uuid
siteNamestringrequired
The platform column to empty.
expectedValuestring | null
Required for Spotify/Deezer clear. Send the displayed account ID, not a freshly inferred replacement. Explicit null means already disconnected; omission is invalid. Other platforms do not require it.