Platform
ScaiWave ScaiGrid ScaiCore ScaiBot ScaiDrive ScaiKey Models Tools & Services
Solutions
Organisations Developers Internet Service Providers Managed Service Providers AI-in-a-Box
Resources
Support Documentation Blog Downloads
Company
About Research Careers Investment Opportunities Contact
Log in

App Assignments API

Reference for the App Assignments endpoint group — 9 endpoints.

Generated from the live OpenAPI spec. Re-run _generate_api_reference.py after backend changes.

Authentication#

All endpoints require a Bearer JWT in the Authorization header unless noted otherwise. See Concepts → Tokens and scopes and Reference → OAuth endpoints for how to obtain one.

Endpoints#

GET /api/v1/tenants/{tenant_id}/applications/{application_id}/assignees#

Get Application Assignees

Get all users and groups assigned to an application.

Parameters:

Name In Required Type Description
tenant_id path yes string
application_id path yes string

Responses:

Status Body
200 application/jsonApiResponse_ApplicationAssigneesResponse_
422 application/jsonHTTPValidationError

GET /api/v1/tenants/{tenant_id}/applications/{application_id}/effective-users#

Get Application Effective Users

Get all users who have access to an application.

This includes both directly assigned users and users who have access via group membership.

Parameters:

Name In Required Type Description
tenant_id path yes string
application_id path yes string
page query no integer
per_page query no integer

Responses:

Status Body
200 application/jsonPaginatedResponse_dict_
422 application/jsonHTTPValidationError

GET /api/v1/tenants/{tenant_id}/groups/{group_id}/applications#

Get Group Applications

Get all applications assigned to a group.

Parameters:

Name In Required Type Description
tenant_id path yes string
group_id path yes string

Responses:

Status Body
200 application/jsonApiResponse_list_AppAssignment__
422 application/jsonHTTPValidationError

POST /api/v1/tenants/{tenant_id}/groups/{group_id}/applications#

Assign Application To Group

Assign an application to a group.

Parameters:

Name In Required Type Description
tenant_id path yes string
group_id path yes string

Request body:

Required.

Responses:

Status Body
201 application/jsonApiResponse_dict_
422 application/jsonHTTPValidationError

DELETE /api/v1/tenants/{tenant_id}/groups/{group_id}/applications/{application_id}#

Unassign Application From Group

Remove an application assignment from a group.

Parameters:

Name In Required Type Description
tenant_id path yes string
group_id path yes string
application_id path yes string

Responses:

Status Body
204 Successful Response
422 application/jsonHTTPValidationError

GET /api/v1/tenants/{tenant_id}/users/{user_id}/applications#

Get User Applications

Get all applications assigned to a user.

Returns both directly assigned applications and those assigned via group membership.

Parameters:

Name In Required Type Description
tenant_id path yes string
user_id path yes string
include_group_assignments query no boolean Include apps assigned via groups

Responses:

Status Body
200 application/jsonApiResponse_UserAssignedAppsResponse_
422 application/jsonHTTPValidationError

POST /api/v1/tenants/{tenant_id}/users/{user_id}/applications#

Assign Application To User

Assign an application to a user.

Parameters:

Name In Required Type Description
tenant_id path yes string
user_id path yes string

Request body:

Required.

Responses:

Status Body
201 application/jsonApiResponse_dict_
422 application/jsonHTTPValidationError

POST /api/v1/tenants/{tenant_id}/users/{user_id}/applications/bulk#

Bulk Assign Applications To User

Assign multiple applications to a user at once.

Parameters:

Name In Required Type Description
tenant_id path yes string
user_id path yes string

Request body:

Required.

Responses:

Status Body
201 application/jsonApiResponse_dict_
422 application/jsonHTTPValidationError

DELETE /api/v1/tenants/{tenant_id}/users/{user_id}/applications/{application_id}#

Unassign Application From User

Remove an application assignment from a user.

Parameters:

Name In Required Type Description
tenant_id path yes string
user_id path yes string
application_id path yes string

Responses:

Status Body
204 Successful Response
422 application/jsonHTTPValidationError

Schemas#

Definitions for every type referenced by the endpoints above. Schema-to-schema references on this page link within the page; cross-page references would require visiting the linked page.

ApiResponse_ApplicationAssigneesResponse_#

Field Type Required Description
data ApplicationAssigneesResponse yes
meta MetaResponse no

ApiResponse_UserAssignedAppsResponse_#

Field Type Required Description
data UserAssignedAppsResponse yes
meta MetaResponse no

ApiResponse_dict_#

Field Type Required Description
data object yes
meta MetaResponse no

ApiResponse_list_AppAssignment__#

Field Type Required Description
data array of AppAssignment yes
meta MetaResponse no

AppAssignment#

Application assignment.

Field Type Required Description
application_id string yes
application_name string yes
application_client_id string yes
assigned_at string (date-time) yes
assignment_type string yes
assigned_via string | null no

ApplicationAssigneesResponse#

Application's assignees response.

Field Type Required Description
application_id string yes
users array of string yes
groups array of string yes
total_users integer yes
total_groups integer yes

AssignmentCreate#

Request to create an assignment.

Field Type Required Description
application_id string yes

BulkAssignmentCreate#

Request to create multiple assignments.

Field Type Required Description
application_ids array of string yes

HTTPValidationError#

Field Type Required Description
detail array of ValidationError no

MetaResponse#

Metadata included in API responses.

Field Type Required Description
request_id string | null no
timestamp string (date-time) no

PaginatedResponse_dict_#

Field Type Required Description
data array of object yes
pagination PaginationMeta yes
meta MetaResponse no

PaginationMeta#

Pagination metadata.

Field Type Required Description
page integer yes
per_page integer yes
total_items integer yes
total_pages integer yes

UserAssignedAppsResponse#

User's assigned applications response.

Field Type Required Description
user_id string yes
applications array of AppAssignment yes
total_count integer yes

ValidationError#

Field Type Required Description
loc array of string | integer yes
msg string yes
type string yes
Updated 2026-05-17 12:20:40 View source (.md) rev 1