Skip to main content
POST
/
api
/
v2
/
concurrency_limits
/
leases
/
{lease_id}
/
renew
Renew Concurrency Lease
curl --request POST \
  --url https://api.example.com/api/v2/concurrency_limits/leases/{lease_id}/renew \
  --header 'Content-Type: application/json' \
  --data '
{
  "lease_duration": 300
}
'
{
  "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