Skip to main content
Location FeaturesVersion: v3

Update Sub-Account features

PUT/locations/{locationId}/features

Replace the full set of features enabled for a Sub-Account (Formerly Location) via the feature-permissions framework. Unknown or inactive feature IDs are dropped. Replaces the deprecated PUT /locations/{locationId}/permissions endpoint.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:locations.features.write
Auth methods:OAuthPrivate Integration
Token type:Agency Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3

Path Parameters

locationIdstringrequired

Location Id

Example:ve9EPM428h8vShlRW1KT

Body

permissionsstring[]required

Feature IDs to grant for the sub-account (full replace). Unknown or inactive IDs are dropped by the service.

Example:["contacts-conversations","workflows"]

Response

Successful permissions update response

permissionsstring[]required

Enabled feature IDs for the sub-account

Example:["contacts-conversations","workflows"]