Tenant Service Operator
Platform:
| Channel | Revision | Published | Runs on |
|---|---|---|---|
| latest/edge | 5 | 29 May 2026 |
juju deploy tenant-service --channel edge
-
activate-tenant
Enable a disabled tenant.
- Params
-
tenant-id string
ID of the tenant to activate.
- Required
tenant-id
-
create-tenant
Create a new tenant.
- Params
-
name string
Name of the tenant to create.
- Required
name
-
deactivate-tenant
Disable an active tenant.
- Params
-
tenant-id string
ID of the tenant to deactivate.
- Required
tenant-id
-
delete-tenant
Delete a tenant.
- Params
-
tenant-id string
ID of the tenant to delete.
- Required
tenant-id
-
get-access-token
Generate a JWT token for accessing the tenant management APIs.
This action requires the oauth integration to be established and ready.
-
invite-user
Send an invitation email to join a tenant.
- Params
-
email string
Email address of the user to invite.
-
role string
Role to assign (e.g. admin, member).
-
tenant-id string
ID of the tenant.
- Required
tenant-id, email, role
-
list-tenant-users
List all users in a tenant.
- Params
-
page-size integer
Maximum number of results to return per page.
-
page-token string
Token to retrieve the next page of results.
-
tenant-id string
ID of the tenant.
- Required
tenant-id
-
list-tenants
List all tenants.
- Params
-
page-size integer
Maximum number of results to return per page.
-
page-token string
Token to retrieve the next page of results.
-
provision-user
Directly add a user to a tenant without an invitation flow.
- Params
-
email string
Email address of the user to provision.
-
role string
Role to assign (e.g. admin, member).
-
tenant-id string
ID of the tenant.
- Required
tenant-id, email, role
-
update-tenant
Update a tenant's name.
- Params
-
name string
New name for the tenant.
-
tenant-id string
ID of the tenant to update.
- Required
tenant-id, name
-
update-user-role
Update a user's role within a tenant.
- Params
-
role string
New role for the user.
-
tenant-id string
ID of the tenant.
-
user-id string
ID of the user.
- Required
tenant-id, user-id, role