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
Token URL
"/api/v2/auth/token"Scopes:
"zertiban-api"Access to the API
Parámetros
Header Parameters
x-tenant-id*
Tenant identifier that contains the business UUID
Tipo
Requeridostring
Path Parameters
operationUuid*
UUID of the operation whose expiration is updated
Tipo
Requeridostring
Formato
"uuid"Cuerpo de la petición
application/json
JSON "duration": "P30D"
{
}
Respuestas
Operation expiration successfully updated (no content)