DELETE
/
accounts
/
{acc_id}
/
subscriptions
/
{sub_id}
curl https://production.methodfi.com/accounts/acc_yVf3mkzbhz9tj/subscriptions/sub_xM4VcfRWcJP8D \
  -X DELETE \
  -H "Method-Version: 2024-04-04" \
  -H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
{
  "id": "sub_xM4VcfRWcJP8D",
  "name": "update",
  "status": "inactive",
  "latest_request_id": "upt_ELGT4hfikTTCJ",
  "created_at": "2024-03-27T19:05:34.417Z",
  "updated_at": "2024-03-27T19:05:34.417Z"
}

Deleting a Subscription means to unsubscribe or unenroll an Entity from automatically receiving new Product resources.

Path Parameters

acc_id
string
required

ID of the Account.

sub_id
string
required

ID of the Subscription.

Returns

Returns a Subscription object.

curl https://production.methodfi.com/accounts/acc_yVf3mkzbhz9tj/subscriptions/sub_xM4VcfRWcJP8D \
  -X DELETE \
  -H "Method-Version: 2024-04-04" \
  -H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
{
  "id": "sub_xM4VcfRWcJP8D",
  "name": "update",
  "status": "inactive",
  "latest_request_id": "upt_ELGT4hfikTTCJ",
  "created_at": "2024-03-27T19:05:34.417Z",
  "updated_at": "2024-03-27T19:05:34.417Z"
}