Skip to content

Portal users

Portal users: 7 operations, tagged portal-users in the OpenAPI document.

Method Path Summary
GET /api/portal-users Search a client’s portal identities (prefix match on email and name)
POST /api/portal-users Ensure a portal identity exists for (client, email), grant a portal app, and deliver a set-password invite
DELETE /api/portal-users/{id} Delete a portal identity (offboarding from every portal of the client)
POST /api/portal-users/{id}/activate Reactivate a suspended portal identity
POST /api/portal-users/{id}/apps Grant a portal identity access to one of the client’s portal apps
DELETE /api/portal-users/{id}/apps/{portalAppCode} Revoke a portal identity’s access to one portal app (the identity stays)
POST /api/portal-users/{id}/deactivate Suspend a portal identity (blocks portal login, keeps the row)

Search a client’s portal identities (prefix match on email and name)

Operation ID: listPortalUsers

Parameters

Name In Type Required Description
clientId query string no Tenant client whose portal identities to list
q query string no Prefix (TERM%) matched case-insensitively against email and name
portalAppCode query string no Only identities granted this portal app
unassigned query boolean no Only identities granted no portal app (cannot be combined with portalAppCode)
page query integer (int64) no 0-based page index (default 0)
size query integer (int64) no Page size (default 100, max 1000)

Responses

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

Ensure a portal identity exists for (client, email), grant a portal app, and deliver a set-password invite

Operation ID: ensurePortalUser

Request body (required)

Content type Schema
application/json PortalUserRequest

Responses

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

Delete a portal identity (offboarding from every portal of the client)

Operation ID: deletePortalUser

Parameters

Name In Type Required Description
id path string yes
clientId query string no Tenant client whose portal identity to delete

Responses

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

Reactivate a suspended portal identity

Operation ID: activatePortalUser

Parameters

Name In Type Required Description
id path string yes

Request body (required)

Content type Schema
application/json PortalUserClientBody

Responses

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

Grant a portal identity access to one of the client’s portal apps

Operation ID: grantPortalUserApp

Parameters

Name In Type Required Description
id path string yes

Request body (required)

Content type Schema
application/json PortalUserAppGrantBody

Responses

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

DELETE /api/portal-users/{id}/apps/{portalAppCode}

Section titled “DELETE /api/portal-users/{id}/apps/{portalAppCode}”

Revoke a portal identity’s access to one portal app (the identity stays)

Operation ID: revokePortalUserApp

Parameters

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

Responses

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

Suspend a portal identity (blocks portal login, keeps the row)

Operation ID: deactivatePortalUser

Parameters

Name In Type Required Description
id path string yes

Request body (required)

Content type Schema
application/json PortalUserClientBody

Responses

Status Description Body
200 OK application/json StatusChangeResponse
default Error application/json ErrorModel
Field Type Required Description
clientId string yes
portalAppCode string yes
Field Type Required Description
code string yes
grantedAt string (date-time) yes
id string yes
name string yes
source string yes
Field Type Required Description
clientId string yes
Field Type Required Description
apps PortalUserAppRef[] yes
createdAt string (date-time) yes
email string yes
hasPassword boolean yes
identityId string yes
inviteExpiresAt string (date-time) no
invitedAt string (date-time) no
lastLoginAt string (date-time) no
name string yes
source string yes
state string yes One of: INVITED, INVITE_EXPIRED, ACTIVE, SUSPENDED.
status string yes
updatedAt string (date-time) yes
Field Type Required Description
page integer (int64) yes
portalUsers PortalUserListItem[] yes
size integer (int64) yes
total integer (int64) yes
Field Type Required Description
clientId string yes
email string yes
name string no
portalAppCode string no
redirectUri string no
returnInviteLink boolean no
Field Type Required Description
created boolean yes
hasPassword boolean yes
identityId string yes
inviteUrl string no
invited boolean yes
portalAppCode string no
ssoManaged boolean no
state string yes One of: INVITED, INVITE_EXPIRED, ACTIVE, SUSPENDED.
Field Type Required Description
message string yes