PUT
/api/v2/admin/vouchers/rules/{id}/enabled/{enabled}PUT /api/v2/admin/vouchers/rules/{id}/enabled/{enabled}
Authentication
Send your API key in the x-api-key header on every request.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| id (path) | string (uuid) | Yes | |
| enabled (path) | boolean | Yes | |
| companyId (query) | unknown | No | |
| Idempotency-Key (header) | string | No |
Responses
200 — OK
Example request
curl -X PUT "https://{base_url}/api/v2/admin/vouchers/rules/{id}/enabled/{enabled}" \
-H "x-api-key: YOUR_API_KEY"This page is generated from the live OpenAPI specification and always matches the current API.