Sample - Stripe API
DELETE/v1/products/{product}/features/{id}

Remove a feature from a product

Deletes a feature attachment from a product. Provide product and id to identify the relationship that you want to remove.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
idstringrequired
The unique identifier of the product feature attachment to remove. Must be no longer than 5000 characters.
productstringrequired
The unique identifier of the product from which to remove the feature. Must be no longer than 5000 characters.

2 status codes
200Returns a deleted product feature object containing its `id`, object type, and `deleted: true`.
deletedbooleanrequired
Always true for a deleted object
Allowed:true
idstringrequired
Unique identifier for the object.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:product_feature
defaultError response.
errorobjectrequired

Error handling

product and id must be identifiers no longer than 5000 characters. The identifiers must refer to the product feature attachment that you want to remove.