Manage Licenses
Understand the parameters and response schema of the admin endpoints
This page outlines the admin endpoint, which allows you to manage and review licenses in Immuta.
Endpoints and methods
POST
Add a license key to the Immuta tenant to increase the number of seats or enable features.
POST /admin/license
Add a license key to the Immuta tenant to increase the number of seats or enable features.
Required Immuta permission: APPLICATION_ADMIN
curl \
--request POST \
--header "Content-Type: application/json" \
--header "Authorization: Bearer dea464c07bd07300095caa8" \
--data @example-payload.json \
https://www.organization.immuta.com/admin/licensePayload
Body parameter
licenseKey string
The license key.
Yes
Response
Returns a license object.
GET /admin/license
Get a list of all license keys.
Required Immuta permission: APPLICATION_ADMIN
Response
Returns a property that contains an array of license objects.
GET /admin/license/licenseStatus
Get the status of a license key's features and seat capacity.
Response
Response attributes
activeUserCount integer
The number of active users in the Immuta tenant.
licenseSeats integer
The total number of seats available in the license.
canAddUser boolean
When true, the administrator can add user accounts to the Immuta tenant.
hardSeats integer
The number of licensed seats available.
GET /admin/license/usage
Get information about the license consumption for your tenant. This endpoint returns a summary of user counts by license type, as well as a list of all individual users with the license type they currently use.
Required Immuta permission: APPLICATION_ADMIN
Query parameters
offset integer
The start index of the records to return. You can combine the offset and size parameters to return a specific set of user records. For example, to return the second and third user records in the response, you would set offset=1 and size=2.
Optional
0
size integer
The number of user records to return.
Optional
10
Response
Response attributes
users array[]
An array of user records. Disabled users are excluded from any of the counts returned in the response, as disabled users do not count against license consumption.
users.userType string
The type of user: dataConsumer or policyOwner.
users.name string
The name of the user.
users.email string
The user's email address.
users.iamid string
The IAM the user belongs to.
users.userid string
The user's username.
users.active boolean
Only tracked for user type dataConsumers. If true, this means the user has run at least one query in the past year (rolling basis) in one of the following platforms that support query audit:
Snowflake
Databricks Unity Catalog
Databricks Spark
Starburst (Trino)
summary object
The summary of license usage that covers all enabled users.
summary.dataConsumers.totalCount integer
The total number of enabled users that do not match the logic for summary.policyOwners.totalCount.
summary.dataConsumers.activeCount integer
The number of users registered in Immuta that have run at least one query in the past year (rolling basis) in one of the following platforms that support query audit:
Snowflake
Databricks Unity Catalog
Databricks Spark
Starburst (Trino)
The dataConsumers.activeCount will always be 0 for customers in either of the following scenarios:
Using Immuta exclusively with technologies where query audit is not supported
Using Immuta with technologies where query audit is supported, but query audit has been disabled
summary.dataConsumers.inactiveCount integer
The number of inactive data consumers. This value is calculated by subtracting summary.dataConsumers.activeCount from summary.dataConsumers.totalCount.
summary.policyOwners.totalCount integer
The total number of policy owners. Enabled users are counted as policy owners if they meet any of the following criteria:
User has one of the following global permissions (directly assigned or via group-based assignment):
CREATE_DATA_SOURCE,GOVERNANCE,USER_ADMIN,APPLICATION_ADMIN,IMPERSONATE_USER,PROJECT_MANAGEMENT,FETCH_POLICY_INFO, orAUDITUser has the
Manage Policiesdomain-level permission on at least one domain (directly assigned or via group-based assignment)User has one of the following data source roles on at least one data source (directly assigned or via group-based assignment):
ownerorexpert
All enabled users that do not match the logic for policyOwners are counted as dataConsumers instead.
DELETE /admin/license/{licenseId}
Delete the specified license key.
Required Immuta permission: APPLICATION_ADMIN
Path parameter
licenseId integer
The ID of the license key you want to delete.
Required
Response
Returns a license object for the deleted license.
License object attributes
licenseKey string
The license key.
id integer
The ID of the license.
uuid string
The unique universal identifier of the license.
features array
The features included in the license.
handlers array
The data handlers included in the license.
expires timestamp
The date the license expires.
seats integer
The number of user seats available.
createdAt timestamp
The date the license key was generated.
notice string
This notice appears on the login page.
noticeOnExpire string
This notice appears on the login page after the license expires.
Last updated
Was this helpful?

