DELETE
/
entities
/
{ent_id}
/
subscriptions
/
{sub_id}
curl https://production.methodfi.com/entities/ent_TYHMaRJUUeJ7U/subscriptions/sub_6f7XtMLymQx3f \
  -X DELETE \
  -H "Method-Version: 2024-04-04" \
  -H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
{
  "id": "sub_6f7XtMLymQx3f",
  "name": "credit_score",
  "status": "inactive",
  "latest_request_id": "crs_pn4ca33GXFaCE",
  "created_at": "2024-04-12T00:21:58.765Z",
  "updated_at": "2024-04-12T00:21:58.765Z"
}

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

Path Parameters

ent_id
string
required

ID of the Entity.

sub_id
string
required

ID of the Subscription.

Returns

Returns a Subscription object.

curl https://production.methodfi.com/entities/ent_TYHMaRJUUeJ7U/subscriptions/sub_6f7XtMLymQx3f \
  -X DELETE \
  -H "Method-Version: 2024-04-04" \
  -H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
{
  "id": "sub_6f7XtMLymQx3f",
  "name": "credit_score",
  "status": "inactive",
  "latest_request_id": "crs_pn4ca33GXFaCE",
  "created_at": "2024-04-12T00:21:58.765Z",
  "updated_at": "2024-04-12T00:21:58.765Z"
}