Application users
Application users: 6 operations, tagged application-users in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
GET |
/api/applications/{appCode}/invitations |
List an application’s outstanding invitations (users who have not set a password) |
DELETE |
/api/applications/{appCode}/invitations/{id} |
Revoke an application user’s invitation (removes the link and deactivates the user) |
POST |
/api/applications/{appCode}/invitations/{id}/resend |
Resend an application user’s invitation (replaces the earlier link) |
GET |
/api/applications/{appCode}/users |
List an application’s users (CLIENT users of its enabled clients holding its roles) |
POST |
/api/applications/{appCode}/users |
Invite (create) a user holding the application’s roles at one of its enabled clients |
GET |
/api/applications/{appCode}/users/{id} |
Get one of an application’s users |
Operations
Section titled “Operations”GET /api/applications/{appCode}/invitations
Section titled “GET /api/applications/{appCode}/invitations”List an application’s outstanding invitations (users who have not set a password)
Operation ID: listApplicationInvitations
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
appCode |
path | string | yes | Application code |
status |
query | string | no | PENDING | EXPIRED; absent = both |
page |
query | integer (int64) | no | 0-based page (default 0) |
pageSize |
query | integer (int64) | no | Page size (default 50, max 200) |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ApplicationInvitationList |
default |
Error | application/json ErrorModel |
DELETE /api/applications/{appCode}/invitations/{id}
Section titled “DELETE /api/applications/{appCode}/invitations/{id}”Revoke an application user’s invitation (removes the link and deactivates the user)
Operation ID: revokeApplicationInvitation
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
appCode |
path | string | yes | Application code |
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /api/applications/{appCode}/invitations/{id}/resend
Section titled “POST /api/applications/{appCode}/invitations/{id}/resend”Resend an application user’s invitation (replaces the earlier link)
Operation ID: resendApplicationInvitation
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
appCode |
path | string | yes | Application code |
id |
path | string | yes | The invited user’s id |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
ResendInvitationRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ResendInvitationResponse |
default |
Error | application/json ErrorModel |
GET /api/applications/{appCode}/users
Section titled “GET /api/applications/{appCode}/users”List an application’s users (CLIENT users of its enabled clients holding its roles)
Operation ID: listApplicationUsers
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
appCode |
path | string | yes | Application code |
q |
query | string | no | Case-insensitive substring of name or email |
active |
query | string | no | true | false; absent = both |
clientId |
query | string | no | Only users homed at this client |
roles |
query | string | no | CSV of the application’s roles; users holding any |
page |
query | integer (int64) | no | 0-based page (default 0) |
pageSize |
query | integer (int64) | no | Page size (default 50, max 200) |
sortField |
query | string | no | name | email | createdAt (default createdAt) |
sortOrder |
query | string | no | asc | desc (default asc) |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ApplicationUserList |
default |
Error | application/json ErrorModel |
POST /api/applications/{appCode}/users
Section titled “POST /api/applications/{appCode}/users”Invite (create) a user holding the application’s roles at one of its enabled clients
Operation ID: inviteApplicationUser
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
appCode |
path | string | yes | Application code |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
InviteApplicationUserRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json InviteApplicationUserResponse |
default |
Error | application/json ErrorModel |
GET /api/applications/{appCode}/users/{id}
Section titled “GET /api/applications/{appCode}/users/{id}”Get one of an application’s users
Operation ID: getApplicationUser
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
appCode |
path | string | yes | Application code |
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ApplicationUser |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”ApplicationInvitation
Section titled “ApplicationInvitation”| Field | Type | Required | Description |
|---|---|---|---|
clientId |
string | yes | |
createdAt |
string (date-time) | yes | |
email |
string | yes | |
expiresAt |
string (date-time) | no | |
name |
string | yes | |
roles |
string[] | yes | |
status |
string | yes | |
userId |
string | yes |
ApplicationInvitationList
Section titled “ApplicationInvitationList”| Field | Type | Required | Description |
|---|---|---|---|
invitations |
ApplicationInvitation[] |
yes | |
page |
integer (int64) | yes | |
pageSize |
integer (int64) | yes | |
total |
integer (int64) | yes |
ApplicationUser
Section titled “ApplicationUser”| Field | Type | Required | Description |
|---|---|---|---|
active |
boolean | yes | |
clientId |
string | yes | |
createdAt |
string (date-time) | yes | |
email |
string | yes | |
id |
string | yes | |
idpType |
string | yes | |
invitation |
string | no | |
lastLoginAt |
string (date-time) | no | |
name |
string | yes | |
roles |
string[] | yes |
ApplicationUserList
Section titled “ApplicationUserList”| Field | Type | Required | Description |
|---|---|---|---|
page |
integer (int64) | yes | |
pageSize |
integer (int64) | yes | |
total |
integer (int64) | yes | |
users |
ApplicationUser[] |
yes |
InviteApplicationUserRequest
Section titled “InviteApplicationUserRequest”| Field | Type | Required | Description |
|---|---|---|---|
clientId |
string | yes | |
email |
string | yes | |
inviteRedirectUri |
string | no | |
name |
string | yes | |
returnInviteLink |
boolean | no | |
roles |
string[] | yes | Min items 1. |
sendInvitation |
boolean | no |
InviteApplicationUserResponse
Section titled “InviteApplicationUserResponse”| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes | |
invitationSent |
boolean | yes | |
inviteLink |
string | no |
ResendInvitationRequest
Section titled “ResendInvitationRequest”| Field | Type | Required | Description |
|---|---|---|---|
inviteRedirectUri |
string | no | |
returnInviteLink |
boolean | no | |
sendInvitation |
boolean | no |
ResendInvitationResponse
Section titled “ResendInvitationResponse”| Field | Type | Required | Description |
|---|---|---|---|
expiresAt |
string (date-time) | no | |
inviteLink |
string | no |