music nerd

Artist linksRemove an artist link

Artist links

Remove an artist link

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
POST/api/removeArtistData

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.

Authorization

Authorizationstringrequired

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. Kept in this tab only.

Body
cURL
curl --request POST \
  --url 'https://musicnerd-api.vercel.app/api/removeArtistData' \
  --header 'Content-Type: application/json' \
  --data '{
  "artistId": "6cb3d81a-3d02-4c57-a711-bb7902a9af1b",
  "siteName": "instagram"
}'

Send the request to see the live response here.

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.

minLength: 1

Response

application/json

Removed.

statusstring · enumrequired

Values: "ok"

successbooleanrequired
messagestringrequired