Saltar al contenido

delegations

Módulo Settings · 5 operaciones

List delegation rows

GET/delegations

A time-boxed delegation of approvals from one person to another. Returns a cursor page of delegation rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

Create a delegation

POST/delegations

A time-boxed delegation of approvals from one person to another. Creates a delegation. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.

Get a delegation

GET/delegations/{id}

A time-boxed delegation of approvals from one person to another. Returns one delegation with its `ETag`. A delegation the caller may not see returns 404.

Update a delegation

PATCH/delegations/{id}

A time-boxed delegation of approvals from one person to another. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.

Delete a delegation

DELETE/delegations/{id}

A time-boxed delegation of approvals from one person to another. Soft-deletes the delegation: it moves to Trash and can be restored for its table's retention period.