---
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.

---

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