Skip to content

Remove a subscription item

DELETE
/v1/subscription_items/:id
curl -X DELETE "https://api.summerbase.com/v1/subscription_items/:id" \
-H "Authorization: Bearer sb_..."

Take an item off its subscription. It is marked removed, deleted: true, rather than deleted. Only the source that owns its subscription may remove it.

id
required
string

Its Summerbase id, or an identity ref: a source slug and that source’s own id for it, joined by a colon — stripe:si_123.

Example

0199a7c2-5b41-7c62-9d3e-6a1f8b2c4d97

Returns the deleted subscription item’s id, with deleted: true.

Media typeapplication/json

Example

{
"deleted": true,
"id": "6f1c2a9e-0b7d-4c3e-9a51-2f8d4e7b1c60",
"object": "subscription_item"
}