curl --request DELETE \
--url https://us.api.flexprice.io/v1/creditgrants/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"effective_date": "<string>"
}
'{
"message": "<string>"
}Delete a credit grant. Plan-scoped grants are archived; subscription-scoped grants have their end date set (optional body with effective_date). Request body is optional.
curl --request DELETE \
--url https://us.api.flexprice.io/v1/creditgrants/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"effective_date": "<string>"
}
'{
"message": "<string>"
}Enter your API key in the format x-api-key <api-key>*
Credit Grant ID
Optional: effective_date for subscription-scoped grants
EffectiveDate is optional; when set (subscription scope) the grant end date is set to this time.
OK