Skip to main content
POST
/
api
/
v2
/
concurrency_limits
/
leases
/
{lease_id}
/
renew
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

x-prefect-api-version
string

Path Parameters

lease_id
string<uuid>
required

The ID of the lease to renew

Body

application/json
lease_duration
number
default:300

The duration of the lease in seconds.

Required range: 60 <= x <= 86400

Response

Successful Response