post
https://staging.ankatech.co/api/v3/admin/tenants//keys//mark-for-destruction
Transitions an ARCHIVED key to PENDING_DESTRUCTION state, establishing
a mandatory cooling-off period before logical deletion is permitted.
The response includes destructionEligibleFrom — the earliest timestamp
at which DELETE will succeed. DELETE requests before that date return
412 Precondition Failed.
No scheduler is required: destruction remains manual but is gated by
the temporal constraint. When a scheduler microservice is added, it will
call the same DELETE endpoint automatically.
Valid source state: ARCHIVED only.
State transition: ARCHIVED → PENDING_DESTRUCTION.
Authorization: requires scope admin.keys.mark-for-destruction.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…