Revoke Certificate
certificates
Revoke Certificate
Revoke a certificate.
Updates the certificate status to revoked. The certificate will no longer be usable for signing documents.
All database operations use async/await for non-blocking I/O.
Args: issuer_id: UUID of the parent issuer cert_id: UUID of the certificate to revoke db: Async database session tenant_id: Active tenant ID from authentication context user_id: Current user ID for auditing
Raises: HTTPException 404: If certificate not found or doesn’t belong to issuer/tenant
DELETE
Revoke Certificate