Clients
Clients: 16 operations, tagged clients in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
GET |
/api/clients |
List clients |
POST |
/api/clients |
Create a client |
GET |
/api/clients/by-identifier/{identifier} |
Get a client by identifier |
GET |
/api/clients/search |
Search clients (SDK alias; ?q= |
POST |
/api/clients/search |
Search clients |
GET |
/api/clients/{id} |
Get a client by id |
PUT |
/api/clients/{id} |
Update a client |
DELETE |
/api/clients/{id} |
Delete a client |
POST |
/api/clients/{id}/activate |
Activate a client |
GET |
/api/clients/{id}/applications |
List applications and their enabled state for the client |
PUT |
/api/clients/{id}/applications |
Replace the client’s enabled applications (bulk) |
POST |
/api/clients/{id}/applications/{applicationId}/disable |
Disable an application for the client |
POST |
/api/clients/{id}/applications/{applicationId}/enable |
Enable an application for the client |
POST |
/api/clients/{id}/deactivate |
Deactivate a client (soft delete) |
POST |
/api/clients/{id}/notes |
Add a note to a client |
POST |
/api/clients/{id}/suspend |
Suspend a client |
Operations
Section titled “Operations”GET /api/clients
Section titled “GET /api/clients”List clients
Operation ID: listClients
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ClientListResponse |
default |
Error | application/json ErrorModel |
POST /api/clients
Section titled “POST /api/clients”Create a client
Operation ID: createClient
Request body (required)
| Content type | Schema |
|---|---|
application/json |
CreateClientRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json CreatedResponse |
default |
Error | application/json ErrorModel |
GET /api/clients/by-identifier/{identifier}
Section titled “GET /api/clients/by-identifier/{identifier}”Get a client by identifier
Operation ID: getClientByIdentifier
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
identifier |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ClientResponse |
default |
Error | application/json ErrorModel |
GET /api/clients/search
Section titled “GET /api/clients/search”Search clients (SDK alias; ?q=<term>)
Operation ID: searchClientsByQuery
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
q |
query | string | no |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ClientListResponse |
default |
Error | application/json ErrorModel |
POST /api/clients/search
Section titled “POST /api/clients/search”Search clients
Operation ID: searchClients
Request body (required)
| Content type | Schema |
|---|---|
application/json |
SearchClientRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ClientListResponse |
default |
Error | application/json ErrorModel |
GET /api/clients/{id}
Section titled “GET /api/clients/{id}”Get a client by id
Operation ID: getClient
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ClientResponse |
default |
Error | application/json ErrorModel |
PUT /api/clients/{id}
Section titled “PUT /api/clients/{id}”Update a client
Operation ID: updateClient
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
UpdateClientRequest |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
DELETE /api/clients/{id}
Section titled “DELETE /api/clients/{id}”Delete a client
Operation ID: deleteClient
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /api/clients/{id}/activate
Section titled “POST /api/clients/{id}/activate”Activate a client
Operation ID: activateClient
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json StatusChangeResponse |
default |
Error | application/json ErrorModel |
GET /api/clients/{id}/applications
Section titled “GET /api/clients/{id}/applications”List applications and their enabled state for the client
Operation ID: getClientApplications
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ClientApplicationsResponse |
default |
Error | application/json ErrorModel |
PUT /api/clients/{id}/applications
Section titled “PUT /api/clients/{id}/applications”Replace the client’s enabled applications (bulk)
Operation ID: updateClientApplications
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
UpdateClientApplicationsRequest |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /api/clients/{id}/applications/{applicationId}/disable
Section titled “POST /api/clients/{id}/applications/{applicationId}/disable”Disable an application for the client
Operation ID: disableClientApplication
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes | |
applicationId |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /api/clients/{id}/applications/{applicationId}/enable
Section titled “POST /api/clients/{id}/applications/{applicationId}/enable”Enable an application for the client
Operation ID: enableClientApplication
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes | |
applicationId |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /api/clients/{id}/deactivate
Section titled “POST /api/clients/{id}/deactivate”Deactivate a client (soft delete)
Operation ID: deactivateClient
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
StatusChangeRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json StatusChangeResponse |
default |
Error | application/json ErrorModel |
POST /api/clients/{id}/notes
Section titled “POST /api/clients/{id}/notes”Add a note to a client
Operation ID: addClientNote
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
AddNoteRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json StatusChangeResponse |
default |
Error | application/json ErrorModel |
POST /api/clients/{id}/suspend
Section titled “POST /api/clients/{id}/suspend”Suspend a client
Operation ID: suspendClient
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
SuspendClientRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json StatusChangeResponse |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”AddNoteRequest
Section titled “AddNoteRequest”| Field | Type | Required | Description |
|---|---|---|---|
category |
string | yes | |
text |
string | yes |
ClientApplicationResponse
Section titled “ClientApplicationResponse”| Field | Type | Required | Description |
|---|---|---|---|
active |
boolean | yes | |
code |
string | yes | |
description |
string | no | |
enabledForClient |
boolean | yes | |
iconUrl |
string | no | |
id |
string | yes | |
name |
string | yes |
ClientApplicationsResponse
Section titled “ClientApplicationsResponse”| Field | Type | Required | Description |
|---|---|---|---|
applications |
ClientApplicationResponse[] |
yes | |
total |
integer (int64) | yes |
ClientListResponse
Section titled “ClientListResponse”| Field | Type | Required | Description |
|---|---|---|---|
clients |
ClientResponse[] |
yes | |
total |
integer (int64) | yes |
ClientResponse
Section titled “ClientResponse”| Field | Type | Required | Description |
|---|---|---|---|
createdAt |
string (date-time) | yes | |
id |
string | yes | |
identifier |
string | yes | |
name |
string | yes | |
notes |
NoteResponse[] |
yes | |
status |
string | yes | |
statusChangedAt |
string (date-time) | no | |
statusReason |
string | no | |
updatedAt |
string (date-time) | yes |
CreateClientRequest
Section titled “CreateClientRequest”| Field | Type | Required | Description |
|---|---|---|---|
identifier |
string | yes | URL-safe identifier (lowercase alphanumeric, hyphens) |
name |
string | yes |
CreatedResponse
Section titled “CreatedResponse”| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes |
NoteResponse
Section titled “NoteResponse”| Field | Type | Required | Description |
|---|---|---|---|
addedAt |
string (date-time) | yes | |
addedBy |
string | no | |
category |
string | yes | |
text |
string | yes |
SearchClientRequest
Section titled “SearchClientRequest”| Field | Type | Required | Description |
|---|---|---|---|
term |
string | yes |
StatusChangeRequest
Section titled “StatusChangeRequest”| Field | Type | Required | Description |
|---|---|---|---|
reason |
string | yes |
StatusChangeResponse
Section titled “StatusChangeResponse”| Field | Type | Required | Description |
|---|---|---|---|
message |
string | yes |
SuspendClientRequest
Section titled “SuspendClientRequest”| Field | Type | Required | Description |
|---|---|---|---|
reason |
string | yes |
UpdateClientApplicationsRequest
Section titled “UpdateClientApplicationsRequest”| Field | Type | Required | Description |
|---|---|---|---|
enabledApplicationIds |
string[] | yes |
UpdateClientRequest
Section titled “UpdateClientRequest”| Field | Type | Required | Description |
|---|---|---|---|
name |
string | no |