---
title: "Update Approval Delegation"
method: PUT
path: "/v2/approval-delegations/{id}"
tags: ["Approval Delegation API"]
---

# Update Approval Delegation

`PUT /v2/approval-delegations/{id}`

Update an existing approval delegation rule.

## Path parameters

- `id` string, required — The ID of the approval delegation rule to update.

## Request body

- object
  - `delegates` SvflowPubapimodelsApprovalDelegate[] — The delegates who can approve on behalf of the delegator.
    - `type` 'APPROVAL_DELEGATE_TYPE_UNSPECIFIED' | 'APPROVAL_DELEGATE_TYPE_USER' | 'APPROVAL_DELEGATE_TYPE_GROUP' — The type of delegate for an approval delegation.
    - `id` string — The ID of the delegate (user ID or group ID, depending on type).
  - `priority` integer, nullable — The priority of the delegation rule (lower values are higher priority).
  - `description` string, nullable — A description of the delegation rule.

## Response `200`

Success

- SvflowPublicapiUpdateApprovalDelegationResponse
  - `data` SvflowPubapimodelsApprovalDelegation — An approval delegation rule that allows a user to delegate their approval responsibilities.
    - `id` string — The ID of the approval delegation.
    - `createdAt` string, date-time — A timestamp in RFC 3339 format (e.g., "2025-01-15T01:30:15Z").
    - `delegatorUserId` string — The ID of the user who is delegating their approvals.
    - `delegates` SvflowPubapimodelsApprovalDelegate[] — The delegates who can approve on behalf of the delegator.
      - `type` 'APPROVAL_DELEGATE_TYPE_UNSPECIFIED' | 'APPROVAL_DELEGATE_TYPE_USER' | 'APPROVAL_DELEGATE_TYPE_GROUP' — The type of delegate for an approval delegation.
      - `id` string — The ID of the delegate (user ID or group ID, depending on type).
    - `priority` integer — The priority of the delegation rule (lower values are higher priority).
    - `description` string — A description of the delegation rule.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/serval/apis/serval-public-api.md) · [All operations](https://skmtc.net/serval/apis/serval-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serval/serval-public-api/versions/0549515e9384/schema)
