{"uid":"cap_Vy0meJv0FQmv95a4PUff7","slug":"pubsub-unsubscribe-6a6dbca9","name":"PubSub Unsubscribe","description":"The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.","url":"https://2s.io/api/pubsub/unsubscribe?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"subscriptionId":{"type":"string","description":"The subscriptionId from pubsub.subscribe."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rzswbewoP3zTfGnsgLQBQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Removes an existing pub/sub subscription by its subscriptionId, stopping future message delivery to that subscriber.","exampleAgentPrompt":"Cancel my pub/sub subscription with ID sub_abc123 so I stop receiving those messages.","exampleUseCases":[{"title":"Tear down subscription after job completes","prompt":"The data processing job is done — go ahead and cancel the pub/sub subscription with ID sub_xyz789 so we stop receiving those queue messages."},{"title":"Clean up unused event listeners","prompt":"I set up a subscription last week with ID sub_def456 but we don't need it anymore, please unsubscribe it now."},{"title":"Stop notifications after alert resolved","prompt":"The incident is resolved, can you unsubscribe subscription sub_ghi321 so our agent stops getting those alert messages?"}],"resultDescription":"A confirmation that the subscription identified by the given subscriptionId has been cancelled and will no longer deliver messages. Typically returns a success status and the deactivated subscription ID.","failureModes":["Invalid or malformed subscriptionId — returns error indicating subscription not found","Subscription already cancelled — may return an idempotent success or a 'not found' error","Missing subscriptionId field — returns validation error","Network or service error — returns 5xx with retry guidance"],"whenToPreferThis":"Use this endpoint when you have an active pub/sub subscription on 2s.io that you want to terminate — for example, after a workflow completes, an alert resolves, or you no longer need event-driven notifications from a channel. Prefer this over simply ignoring the subscription to avoid wasted resources and unnecessary message delivery.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:53:04.265Z","isFirstParty":false,"canonicalSlug":"pubsub-unsubscribe-6a6dbca9"}