Skip to content
Developer Docs

Update operation expiration​

PATCH
/flow/v1/operations/{operationUuid}/expiration

Updates the expiration duration of an operation while it is still editable — that is, while its action code is INITIATED (statuses CREATED or OPENED). The new duration recalculates the operation's expiration date as the current time plus the supplied duration and adjusts its stored expiration offset accordingly. Responds with 204 No Content on success.

Returns 409 when the operation is no longer editable (already in a final state) and 404 when the operation does not exist for the tenant.

Autorizaciones​

OAuth2

OAuth2 security scheme

clientCredentials Flow
URL del token"/idp/oauth2/token"
Ámbitos:
  • "api"Access to the API

Parámetros​

Header Parameters

x-tenant-id*

Tenant identifier that contains the organisation UUID

Tipo
string
Requerido
Ejemplo"1f56c928-7621-44fe-8cda-c211fda0a828"
Formato
"uuid"

Path Parameters

operationUuid*

UUID of the operation whose expiration is updated

Tipo
string
Requerido
Formato
"uuid"

Cuerpo de la petición​

application/json
JSON
{
  
"duration": "P30D"
}

Respuestas​

Operation expiration successfully updated (no content)

Playground​

Servidor
Autorización
Headers
Variables
Key
Value
Cuerpo

Ejemplos​