Skip to content

Tenant Lease Expired

URI: https://docs.ankatech.co/errors/tenant-lease-expired
HTTP Status: 409 Conflict

When you see this

A reactivation was refused because the tenant's lease is EXPIRED, and a lease that has expired is renewed only by extending it. The tenant was not reactivated.

Common Causes

  • A reactivation of a tenant whose lease suspended it at expiry.
  • A reactivation of a tenant an operator had suspended whose lease then expired: the refusal applies whatever suspended the tenant.

Response Example

{
  "type": "https://docs.ankatech.co/errors/tenant-lease-expired",
  "title": "Tenant Lease Expired",
  "status": 409,
  "detail": "The tenant's lease has expired; extend the lease to reactivate the tenant.",
  "instance": "/api/v3/admin/platform/tenants/7d2f4a10-9c31-4b8e-a5d6-2f11c0b47e93/reactivate",
  "timestamp": 1730000000,
  "extensions": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000"
  }
}

Content-Type: application/problem+json — the response follows RFC 9457 Problem Details.

How to Resolve

  1. Extend the lease (createPlatformTenantLeaseExtension). An extension of an expired lease reactivates the tenant when the lease suspended it.
  2. For a tenant an operator suspended, reactivate it (reactivateTenant) once the lease is extended.

For full schema definitions, examples, and interactive testing, see the Developer Hub Reference.