Sample - Stripe API
POST/v1/billing/feedback_options/{id}/deactivate

Deactivate a feedback option

Deactivates a feedback option so it can no longer be used in portal configurations. Supply id to select the feedback option and use expand to include expanded response fields. The response records the option's inactive status and deactivation transition.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.
  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter · 1 body field
idstringrequired
The unique identifier of the feedback option to deactivate. Maximum 5,000 characters.

Optional form data for controlling the deactivation response.

expandarray<string>optional
Specifies which fields in the response should be expanded.

2 status codes
200Returns the deactivated feedback option with its description, unique identifier, live-mode flag, object type, inactive status, and status transition details.
descriptionstringrequired
An arbitrary string attached to the object. Often useful for displaying to users.
idstringrequired
Unique identifier for the object.
livemodebooleanrequired
If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:billing.feedback_option
statusstringrequired
The feedback option's status.
Allowed:activeinactive
status_transitionsobjectrequired
defaultError response.
errorobjectrequired

Error handling

id must identify an existing feedback option and must not exceed 5,000 characters. Each value in expand must not exceed 5,000 characters.