Skip to content

Portal apps

Portal apps: 5 operations, tagged portal-apps in the OpenAPI document.

Method Path Summary
GET /api/portal-apps List portal apps (a client’s, or every client’s for anchors)
POST /api/portal-apps Register a portal app for a client and provision its portal OAuth client
PUT /api/portal-apps/{id} Update a portal app’s name, description, or active flag
DELETE /api/portal-apps/{id} Delete a portal app together with its portal OAuth clients
POST /api/portal-apps/{id}/assign-unassigned Grant a portal app to every one of the client’s portal users that has no portal app

List portal apps (a client’s, or every client’s for anchors)

Operation ID: listPortalApps

Parameters

Name In Type Required Description
clientId query string no Tenant client whose portal apps to list (anchors may omit it for every client’s)

Responses

Status Description Body
200 OK application/json PortalAppListResponse
default Error application/json ErrorModel

Register a portal app for a client and provision its portal OAuth client

Operation ID: createPortalApp

Request body (required)

Content type Schema
application/json CreatePortalAppRequest

Responses

Status Description Body
201 Created application/json CreatePortalAppResponse
default Error application/json ErrorModel

Update a portal app’s name, description, or active flag

Operation ID: updatePortalApp

Parameters

Name In Type Required Description
id path string yes

Request body (required)

Content type Schema
application/json UpdatePortalAppRequest

Responses

Status Description Body
200 OK application/json PortalAppResponse
default Error application/json ErrorModel

Delete a portal app together with its portal OAuth clients

Operation ID: deletePortalApp

Parameters

Name In Type Required Description
id path string yes
clientId query string no Tenant client that owns the portal app

Responses

Status Description Body
200 OK application/json StatusChangeResponse
default Error application/json ErrorModel

POST /api/portal-apps/{id}/assign-unassigned

Section titled “POST /api/portal-apps/{id}/assign-unassigned”

Grant a portal app to every one of the client’s portal users that has no portal app

Operation ID: assignUnassignedPortalUsers

Parameters

Name In Type Required Description
id path string yes

Request body (required)

Content type Schema
application/json AssignUnassignedBody

Responses

Status Description Body
200 OK application/json AssignUnassignedResponse
default Error application/json ErrorModel
Field Type Required Description
clientId string yes
Field Type Required Description
assigned integer (int64) yes
portalAppCode string yes
Field Type Required Description
clientId string yes
clientType string no One of: CONFIDENTIAL, PUBLIC.
code string yes
description string no
name string yes
redirectUris string[] no
Field Type Required Description
clientSecret string no
clientType string yes
oauthClientId string yes
oauthClientRowId string yes
portalApp PortalAppResponse yes
Field Type Required Description
clientId string yes
clientName string yes
id string yes
Field Type Required Description
portalApps PortalAppResponse[] yes
unassignedUsers integer (int64) no
Field Type Required Description
active boolean yes
clientId string yes
code string yes
createdAt string (date-time) yes
description string no
id string yes
name string yes
oauthClients LinkedOAuthClient[] yes
updatedAt string (date-time) yes
userCount integer (int64) yes
Field Type Required Description
message string yes
Field Type Required Description
active boolean no
clientId string yes
description string no
name string no