Discount Codes
Stop a discount code
The code stops working immediately. Subscribers who already redeemed it keep the discount they were given.
post/gateway/discount-codes/{id}/archive
Request
- Base URL: https://api.agentaos.ai/api/v1
- URL: https://api.agentaos.ai/api/v1/gateway/discount-codes/{id}/archive
- Auth: API key in header x-api-key
Path parameters
idstring uuid required
Discount code UUID (the id field from create or list).
Response
The archived discount code.
Changes
No recorded changes to this operation across all 1 revision of this API.