User

Set Expiring User Delegation Binding By Admin

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

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

Path parameters

user_idstring required

The ID of the user whose tasks will be delegated.

Request body

delegatedUserIdstring

The ID of the user who will act as delegate. Empty string removes the delegation.

delegationExpireAtstring date-time nullable
delegationStartAtstring date-time nullable

Response

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

Changes

Changed in 2 of the 33 revisions of this API.273

  • f2cf3228f366272See the full diff
    • added c1.api.user.v1.ExpiringUserDelegationBinding subschema #2 to the item response property oneOf list for the response status 200

      response-property-one-of-added

    • the item response's property type/format changed from object/ to / for status 200

      response-property-type-changed

    • removed the optional property item/createdAt from the response with the 200 status

      response-optional-property-removed

    • removed the optional property item/delegatedUserId from the response with the 200 status

      response-optional-property-removed

    • removed the optional property item/deletedAt from the response with the 200 status

      response-optional-property-removed

    • removed the optional property item/expirationAt from the response with the 200 status

      response-optional-property-removed

    • removed the optional property item/startAt from the response with the 200 status

      response-optional-property-removed

    • removed the optional property item/updatedAt from the response with the 200 status

      response-optional-property-removed

    • removed the optional property item/userId from the response with the 200 status

      response-optional-property-removed

    • the request property delegationExpireAt became nullable

      request-property-became-nullable

    • the request property delegationStartAt became nullable

      request-property-became-nullable

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added