Subscriptions
Delete a Subscription
API Reference
Entities
- The entity endpoint
- POSTCreate an Individual
- POSTCreate a Corporation
- PUTUpdate an Entity
- GETRetrieve an Entity
- GETList all Entities
- Connect
- Verification Sessions
- Credit Scores
- Attributes
- Vehicles
- Identities
- Products
- Subscriptions
- Consent
Accounts
- The account endpoint
- POSTCreate an Account
- GETRetrieve an Account
- GETList all Accounts
- Updates
- Transactions
- Card Brand
- Attributes
- Payoffs
- Balances
- Sensitive
- Products
- Subscriptions
- Verification Sessions
- Consent
Payments
Supporting Endpoints
- Merchants
- Webhooks
- Reports
- Simulations (Dev)
- Health Check
Subscriptions
Delete a Subscription
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
ID of the Entity.
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"
}
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"
}