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 |
Operations
Section titled “Operations”GET /api/portal-apps
Section titled “GET /api/portal-apps”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 |
POST /api/portal-apps
Section titled “POST /api/portal-apps”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 |
PUT /api/portal-apps/{id}
Section titled “PUT /api/portal-apps/{id}”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 /api/portal-apps/{id}
Section titled “DELETE /api/portal-apps/{id}”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 |
Schemas
Section titled “Schemas”AssignUnassignedBody
Section titled “AssignUnassignedBody”| Field | Type | Required | Description |
|---|---|---|---|
clientId |
string | yes |
AssignUnassignedResponse
Section titled “AssignUnassignedResponse”| Field | Type | Required | Description |
|---|---|---|---|
assigned |
integer (int64) | yes | |
portalAppCode |
string | yes |
CreatePortalAppRequest
Section titled “CreatePortalAppRequest”| 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 |
CreatePortalAppResponse
Section titled “CreatePortalAppResponse”| Field | Type | Required | Description |
|---|---|---|---|
clientSecret |
string | no | |
clientType |
string | yes | |
oauthClientId |
string | yes | |
oauthClientRowId |
string | yes | |
portalApp |
PortalAppResponse |
yes |
LinkedOAuthClient
Section titled “LinkedOAuthClient”| Field | Type | Required | Description |
|---|---|---|---|
clientId |
string | yes | |
clientName |
string | yes | |
id |
string | yes |
PortalAppListResponse
Section titled “PortalAppListResponse”| Field | Type | Required | Description |
|---|---|---|---|
portalApps |
PortalAppResponse[] |
yes | |
unassignedUsers |
integer (int64) | no |
PortalAppResponse
Section titled “PortalAppResponse”| 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 |
StatusChangeResponse
Section titled “StatusChangeResponse”| Field | Type | Required | Description |
|---|---|---|---|
message |
string | yes |
UpdatePortalAppRequest
Section titled “UpdatePortalAppRequest”| Field | Type | Required | Description |
|---|---|---|---|
active |
boolean | no | |
clientId |
string | yes | |
description |
string | no | |
name |
string | no |