---
title: "Create or update multiple user authorizations."
method: POST
path: "/v2.1/accounts/{accountId}/users/{userId}/authorizations"
tags: ["Authorizations"]
---

# Create or update multiple user authorizations.

`POST /v2.1/accounts/{accountId}/users/{userId}/authorizations`

Create or update multiple user authorizations in a single request. The body of the request is a list of userAuthorizationSomething objects. To create a new authorization, specify the `agentUser` and `permission` fields, with the optional `startDate` and `endDate` fields. To update an existing authorization, specify the `authorizationId` field and the `startDate` and/or `endDate` fields.

For example, to create a new authorization and update the end date of an existing authorization, your request body might look like this:

```
{
  "authorizations": [
    {
      "agentUser": {
        "userId": "1470ff66-xxxx-xxxx-xxxx-8c46f140da37",
        "accountId": "230546a7-xxxx-xxxx-xxxx-af205d5494ad"
      },
      "permission": "manage"
    },
    {
      "authorizationId": "b73ac983-xxxx-xxxx-xxxx-b3c0ea5b09d3",
      "endDate": "2023-05-09T21:36:27.0000000+00:00"
    }
  ]
}
```

The principal user is specified by the `userId` path parameter. To call this endpoint, you must be an account administrator or the principal user.

**Note:** To create an authorization with signing permission, the `AllowDelegationSigning` setting must be enabled on the account. If you share signing access, the agent user will receive an email notification. Each principal user can only share signing permission with one agent user.

## Path parameters

- `accountId` string, required
- `userId` string, required

## Request body

- UserAuthorizationsRequest — An object that describes the user authorizations to create or update.
  - `authorizations` UserAuthorizationCreateRequestWithId[] — The list of user authorizations to create and/or update.
    - `agentUser` AuthorizationUser
      - `accountId` string — The account ID.
      - `email` string — The email address of the authorization user.
      - `name` string — The name of the authorization user.
      - `userId` string — The ID of the authorization user.
    - `authorizationId` string — The ID of the user authorization. This property is required to update an existing authorization.
    - `endDate` string — The UTC DateTime to end the authorization. The default value is the max UTC value: `9999-12-31T23:59:59.0000000+00:00`.
    - `permission` string — The [permission level](/docs/esign-rest-api/esign101/concepts/envelopes/shared-access/) to grant the agent. Valid values: * `Send` * `Manage` * `Sign` * `Edit` This property is required.
    - `startDate` string — The UTC DateTime to initiate the authorization. The default value is the current date and time.
    - `taskSource` string
    - `taskType` string

## Response `201`

Successful response.

## Other responses

- `400` — Error encountered.

---

[API](https://skmtc.net/docusign/apis/docusign-esignature-rest-api.md) · [All operations](https://skmtc.net/docusign/apis/docusign-esignature-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/docusign/docusign-esignature-rest-api/versions/77f1998c313d/schema)
