Access Codes
Revoke an access code
Deletes an unredeemed code so it can no longer be claimed. The code is resolved within the plan, so an id from another plan is 404 RESOURCE_NOT_FOUND. Answers 204 with no body; no webhook fires.
delete/v1/projects/{project}/plans/{plan}/access-codes/{accessCode}
Request
- Base URL: https://api.subscriby.net
- URL: https://api.subscriby.net/v1/projects/{project}/plans/{plan}/access-codes/{accessCode}
- Auth: HTTP bearer
Path parameters
projectstring uuid required
The project, resolved by the route binder.
planstring uuid required
The plan, resolved within the project by the route binder.
accessCodestring uuid required
The unredeemed code, resolved within the plan by the route binder.
Headers
Idempotency-Keystring uuid required
A key unique to this operation, such as a fresh UUID. The same key replays the original 2xx response for 24 hours (with Idempotent-Replay: true), so a retry after a timeout never repeats the write; the same key with a different body is refused with 409.
Response
No content
Changes
No recorded changes to this operation across all 1 revision of this API.