Skip to navigation

Renew a managed sandbox deployment

The only mutation that moves the retention anchor, and only once per Idempotency-Key. Terminal deployments cannot be renewed.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired>=1 character

Headers

idempotency-keystringRequired>=1 character
Replays the stored response for the same authored body for seven days. Reusing a key with a different body returns 409.

Request

This endpoint expects an object.
retentionenumRequired
Allowed values:

Response

Renewal accepted
deploymentobject
operationIdstring or null

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
412
Precondition Failed Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error