Skip to main content
POST
/
agent
/
unsubscribe
{
    "agentId": "fff21854-32cb-4082-a219-48ae1a9d5313",
    "privyIdToken": "eyJhbGciOiJFU...",
    "privyAuthToken": "eyJhbGciOiJFU..."
}
{
    "message": "Quorum removed from wallet",
    "privyResponse": {
        "id": "bh5nazejf4xt56a43vswzk1j",
        "address": "0x1a715565418b1538E0F51d8B826A4bE5340eAEAC",
        "chain_type": "ethereum",
        "policy_ids": [],
        "additional_signers": [],
        "exported_at": null,
        "created_at": 1751573759530,
        "owner_id": null
    }
}
This endpoint is used to unsubscribe a user from an agent with a given ID. This endpoint will remove the quorum signing policy associated with the agent from the user’s wallet on Privy.

Request Parameters

agentId
string
required
The unique identifier for the agent (UUID format)
privyIdToken
string
Privy ID token for authentication. NOT NEEDED FOR DEV PORTAL AGENTS
privyAuthToken
string
Privy authentication token. NOT NEEDED FOR DEV PORTAL AGENTS

Response

message
string
Status message indicating the quorum was removed from the wallet
privyResponse
object
Privy wallet response object containing the updated wallet configuration

Behavior

  • Removes the quorum signing policy associated with the agent from the user’s wallet on Privy

Authentication

B2B JWT token OR Privy authentication token and headers

Headers

When using Privy authentication token, include the following header:
  • x-privy-id-token: Privy ID token
{
    "agentId": "fff21854-32cb-4082-a219-48ae1a9d5313",
    "privyIdToken": "eyJhbGciOiJFU...",
    "privyAuthToken": "eyJhbGciOiJFU..."
}
{
    "message": "Quorum removed from wallet",
    "privyResponse": {
        "id": "bh5nazejf4xt56a43vswzk1j",
        "address": "0x1a715565418b1538E0F51d8B826A4bE5340eAEAC",
        "chain_type": "ethereum",
        "policy_ids": [],
        "additional_signers": [],
        "exported_at": null,
        "created_at": 1751573759530,
        "owner_id": null
    }
}