Skip to main content

Update permissions

PUT 

https://api.freemius.com/v1/products/{product_id}/installs/{install_id}/permissions.json

Auth:Bearer TokenSCOPE: PRODUCT

Product-scoped API tokens allow you to operate on the product itself. This token usually allows read-only access to the product configuration and write access to several operations on subscriptions, customers, payments, and more. For most SaaS or app integrations, this is the token you will need.

  1. Go to the Freemius Developer Dashboard.
  2. Open the Settings page of the relevant product.
  3. Click the API & Keys tab.
  4. Copy the API Bearer Authorization Token from the UI.

Update permissions to a product install.

Request

Path Parameters

    product_id integer<int64>required

    The ID of the product.

    Possible values: >= 1

    Example: 1234
    install_id integer<int64>required

    The ID of the install.

    Possible values: >= 1

    Example: 1234

Bodyrequired

    is_enabledboolean

    Whether to enable the selected permission.

    permissionsstring<csv>

    Comma separated list of permissions to update. Allowed values are site, user, extensions.

    Example: site,user,extensions

Responses

Install permission updated.

Schema
permissions object
siteboolean

Whether the site level tracking is on, for example the site title, URL, language etc.

userboolean

Whether the user level tracking is on, for example the user email, first and last name, etc.

extensionsboolean

Whether the extensions tracking is on (for example list of plugins and themes installed on the same WordPress website).

idstring<int64>

The unique identifier of the entity.

Possible values: >= 1

Example: 123456
createdstring<date-time>

The date and time the entity was created, under UTC timezone.

Example: 2025-01-01 00:00:00
updatedstring<date-time>nullable

The date and time the entity was updated, under UTC timezone. If null then the entity was never updated since its creation.

Example: 2025-01-01 00:00:00
install_idstring<int64>

The ID of the installation or site the entity is associated with.

Possible values: >= 1

Example: 123456
We use essential cookies to enable our site to function. With your consent, we also use analytics and advertising cookies to understand how visitors interact with our site and to improve our services.
Learn More