---
title: "Set Expiring User Delegation Binding By Admin"
method: POST
path: "/api/v1/users/{user_id}/set-delegation-by-admin"
tags: ["User"]
---

# Set Expiring User Delegation Binding By Admin

`POST /api/v1/users/{user_id}/set-delegation-by-admin`

Set or update an expiring delegation binding for a user, allowing an admin to designate a temporary delegate.

## Path parameters

- `user_id` string, required — The ID of the user whose tasks will be delegated.

## Request body

- C1ApiUserV1SetExpiringUserDelegationBindingByAdminRequestInput — SetExpiringUserDelegationBindingByAdminRequest is the request for an admin to set a temporary delegation binding for a user.
  - `delegatedUserId` string — The ID of the user who will act as delegate. Empty string removes the delegation.
  - `delegationExpireAt` string, date-time, nullable
  - `delegationStartAt` string, date-time, nullable

## Response `200`

SetExpiringUserDelegationBindingByAdminResponse is the response containing the created or updated delegation binding.

- C1ApiUserV1SetExpiringUserDelegationBindingByAdminResponse — SetExpiringUserDelegationBindingByAdminResponse is the response containing the created or updated delegation binding.
  - `item` C1ApiUserV1ExpiringUserDelegationBinding — The ExpiringUserDelegationBinding message.
    - `createdAt` string, date-time, nullable
    - `delegatedUserId` string — The delegatedUserId field.
    - `deletedAt` string, date-time, nullable
    - `expirationAt` string, date-time, nullable
    - `startAt` string, date-time, nullable
    - `updatedAt` string, date-time, nullable
    - `userId` string — The userId field.

## Changes

- **2026-08-21** `f2cf3228f366` — 2 breaking, 7 warning, 2 info
  - added `#/components/schemas/c1.api.user.v1.ExpiringUserDelegationBinding, subschema #2` to the `item` response property `oneOf` list for the response status `200`
  - the `item` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `item/createdAt` from the response with the `200` status
  - removed the optional property `item/delegatedUserId` from the response with the `200` status
  - …7 more
- **2025-11-12** `6f49a3969499` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/users/:user_id/set-delegation-by-admin/post.md)

---

[API](https://skmtc.dev/conductorone/apis/c1-api.md) · [All operations](https://skmtc.dev/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/f2cf3228f366/schema)
