curl --request DELETE \
--url https://us.api.flexprice.io/v1/taxes/associations/{id} \
--header 'x-api-key: <api-key>'{
"auto_apply": true,
"created_at": "<string>",
"created_by": "<string>",
"currency": "<string>",
"entity_id": "<string>",
"entity_type": "customer",
"environment_id": "<string>",
"id": "<string>",
"metadata": {},
"priority": 123,
"status": "published",
"tax_rate": {
"code": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"description": "<string>",
"environment_id": "<string>",
"fixed_value": "<string>",
"id": "<string>",
"metadata": {},
"name": "<string>",
"percentage_value": "<string>",
"scope": "INTERNAL",
"status": "published",
"tax_rate_status": "ACTIVE",
"tax_rate_type": "percentage",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
},
"tax_rate_id": "<string>",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
}Use when removing a tax association (e.g. entity no longer subject to that rate).
curl --request DELETE \
--url https://us.api.flexprice.io/v1/taxes/associations/{id} \
--header 'x-api-key: <api-key>'{
"auto_apply": true,
"created_at": "<string>",
"created_by": "<string>",
"currency": "<string>",
"entity_id": "<string>",
"entity_type": "customer",
"environment_id": "<string>",
"id": "<string>",
"metadata": {},
"priority": 123,
"status": "published",
"tax_rate": {
"code": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"description": "<string>",
"environment_id": "<string>",
"fixed_value": "<string>",
"id": "<string>",
"metadata": {},
"name": "<string>",
"percentage_value": "<string>",
"scope": "INTERNAL",
"status": "published",
"tax_rate_status": "ACTIVE",
"tax_rate_type": "percentage",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
},
"tax_rate_id": "<string>",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
}Enter your API key in the format x-api-key <api-key>*
Tax Config ID
OK
Whether this tax should be automatically applied
Currency
ID of the entity this tax rate applies to
customer, subscription, invoice, tenant EnvironmentID is the ID of the environment this tax rate config belongs to
ID of the ent.
Metadata holds the value of the "metadata" field.
Show child attributes
Priority for tax resolution (lower number = higher priority)
published, deleted, archived Show child attributes
Reference to the TaxRate entity