Update account type permissions
Add or remove permissions on a custom account type.
### Usage notes
- To perform this operation, you must use API credentials owned by a user assigned the Admin account type.
- To read or update permissions for a tenant organization, use [impersonation](/docs/impersonate-users) to obtain a token for that tenant, then call this endpoint with that token.
- Retrieve the **accountTypeId** by calling the [/v2/accountTypes](https://help.sigmacomputing.com/reference/list-account-types) endpoint.
- For **add** and **remove**, use the permission names from the response of the [/v2/accountTypes/:accountTypeId/permissions](https://help.sigmacomputing.com/reference/list-account-type-permissions).
- A permission cannot appear in both **add** and **remove**.
- You cannot modify the permissions of the Admin account type.
- **licenseType** depends on the permissions enabled for the account type.
- **permissions** is the account type's full permission set after applying this update.
### Usage scenarios
- Enable or disable specific permissions for a custom account type.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Path parameters
accountTypeId
The unique identifier of the account type.
Request
The request body.
add
Permissions to turn on for this account type.
remove
Permissions to turn off for this account type.
Response
The response body.
accountTypeId
The unique identifier of the account type.
accountTypeName
The name of the account type.
description
A human-readable description of the permissions and capabilities provided by this account type.
isCustom
Whether this is a custom account type created by the organization (true) or a default Sigma account type (false).
licenseType
The license type of the account type.
permissions
The account type's full set of permissions after applying this update.

