IAM and API Endpoint Changes
Available on: Enterprise Edition
Release: 0.24.0
Overview
To streamline API usage, reduce ambiguity, and improve security and manageability for large organizations, the IAM and related API endpoints have been significantly revised in 0.24. These changes consolidate user, group, and role management around explicit, well-defined routes and permissions, and remove redundant or confusing API paths.
Global API Changes
/v1/api/{tenant}/me
moved to/v1/api/me
/v1/api/cluster
moved to/v1/api/instance
- All
/v1/api/{tenant}/users
endpoints are removed:- Use
/v1/api/users
(instance-level, Superadmin only) - Use
/v1/api/{tenant}/tenant-access
for tenant access management - Use
/v1/api/{tenant}/service-accounts
for service account management
- Use
- All Superadmin endpoints under
/v1/api/tenants/{tenant}/groups
,/bindings
,/roles
,/invitations
, and/namespaces
are removed.
Role APIs
GET /v1/api/tenants/{tenant}/roles/[search|autocomplete]
now only returns operation-relevant fields;tenantId
,deleted
,description
, andpermissions
have been removed.GET /v1/api/tenants/{tenant}/roles/{id}
now only returns relevant fields;tenantId
anddeleted
are removed.POST/PUT /v1/api/tenants/{tenant}/roles
: the request body now excludesid
,tenantId
, anddeleted
.
Group APIs
GET /v1/api/tenants/{tenant}/groups/[search|autocomplete]
now only returnsid
andname
.GET /v1/api/tenants/{tenant}/groups/{id}
now only returnsid
,name
, anddescription
.POST/PUT /v1/api/tenants/{tenant}/groups
the request body now excludesid
,tenantId
, anddeleted
.GET /v1/api/tenants/{tenant}/groups/{groupId}/members
and/members/{userId}
now return onlyid
,username
,displayName
, andgroups
.
RBAC Updates
- Permissions
API_TOKEN
andME
are removed. - New permissions:
SERVICE_ACCOUNT
for managing service accountsINVITATION
for managing invitationsTENANT_ACCESS
for managing users in a tenantGROUP_MEMBERSHIP
for group membership management
- The
USER
permission is now only required for SCIM integration.
Action Required for applications built on top of Kestra API
- Update any API clients or scripts that interact with affected endpoints.
- Review permission assignments and RBAC configurations to use the updated permissions.
- For file uploads, ensure the request format matches the new requirements.
Was this page helpful?