Flow
Delete flow rule
Deletes a given rule from the system.
DELETE
/flows/{flow}/actions/{action}/rules/{rule_id}
curl --request DELETE \
--url https://api.sandbox.{gr4vy_id}.gr4vy.app/flows/{flow}/actions/{action}/rules/{rule_id} \
--header 'Authorization: <authorization>'
This response has no body data.
This endpoint requires the flows.write
scope.
Authorizations
Authorizationheaderrequired
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
flowrequired
enum<string>
The flow name. This can be one of the following.
checkout
- Applies during checkout to determine what payment options are shown.card-transaction
- Applies when processing a card transaction.redirect-transaction
- Applies when processing any other transaction.
Available options:
checkout
, card-transaction
, redirect-transaction
actionrequired
enum<string>
The flow action.
Available options:
select-payment-options
, decline-early
, route-transaction
, skip-3ds
rule_idrequired
string
The unique ID for a rule.
Response
204
curl --request DELETE \
--url https://api.sandbox.{gr4vy_id}.gr4vy.app/flows/{flow}/actions/{action}/rules/{rule_id} \
--header 'Authorization: <authorization>'
This response has no body data.