music nerd

MCP OAuthDisconnect an agent

MCP OAuth

Disconnect an agent

Disconnects one of the signed-in user's agents; its tokens stop working at once. Answers 200 when the connection is already gone or isn't the user's.

DEL/api/oauth/connections/{id}
DEL/api/oauth/connections/conn_7f3a2c

Disconnects one of the signed-in user's agents; its tokens stop working at once. Answers 200 when the connection is already gone or isn't the user's.

Authorization

Authorizationstringrequired

A Privy access token for a signed-in Music Nerd user, as musicnerd.net holds it. Kept in this tab only.

Path

idstringrequired

The connection's ID, from the list.

cURL
curl --request DELETE \
  --url 'https://musicnerd-api.vercel.app/api/oauth/connections/conn_7f3a2c'

Send the request to see the live response here.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>. A Privy access token for a signed-in Music Nerd user, as musicnerd.net holds it.

Path Parameters

idstringrequired

The connection's ID, from the list.

Response

application/json

Disconnected.

statusstring · enumrequired

Values: "ok"