Client Admin Users
Reference for the client_admin_users endpoints of the Surfmeter API.
Surfmeter API – Client Admin Users v1
The Surfmeter API lets you manage clients, users, capabilities, measurements, and organization-wide settings programmatically.
Servers
| Description | URL |
|---|---|
| https://surfmeter-server.{host}/client_admin_api/v1 | https://surfmeter-server.{host}/client_admin_api/v1 |
Client Admin Users
GET /client_admin_users
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
Response 200 OK
- application/json
{
"users": [
{
"id": 0,
"email": "user@example.com",
"username": "string",
"role": "org_admin",
"first_name": "string",
"last_name": "string",
"ai_usage_accepted": true,
"ai_custom_prompt": "string",
"last_visited_dashboard_version": "string",
"dashboard_whats_new_disabled": true,
"pending_email": "string",
"pending_email_token_sent_at": "2026-01-15T10:30:00Z",
"pending_email_state": "active",
"notification_config": {
"anomaly_events": true,
"client_offline": true,
"client_degraded": true,
"study_execution_failures": true,
"anomaly_events_frequency": "immediate",
"anomaly_events_digest_hours": 0,
"anomaly_events_digest_interval_unit": "hour",
"anomaly_events_digest_interval_count": 0,
"anomaly_events_digest_at_time": "string",
"anomaly_events_digest_day_of_week": 0
}
}
]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
POST /client_admin_users
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
Request body
- application/json
{
"email": "user@example.com",
"username": "string",
"role": "org_admin",
"first_name": "string",
"last_name": "string",
"notify_user": true,
"notification_config": {
"anomaly_events": true,
"client_offline": true,
"client_degraded": true,
"study_execution_failures": true,
"anomaly_events_frequency": "immediate",
"anomaly_events_digest_hours": 0,
"anomaly_events_digest_interval_unit": "hour",
"anomaly_events_digest_interval_count": 0,
"anomaly_events_digest_at_time": "string",
"anomaly_events_digest_day_of_week": 0
}
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the request body
Response 201 Created
- application/json
{
"user": {
"id": 0,
"email": "user@example.com",
"username": "string",
"role": "org_admin",
"first_name": "string",
"last_name": "string",
"ai_usage_accepted": true,
"ai_custom_prompt": "string",
"last_visited_dashboard_version": "string",
"dashboard_whats_new_disabled": true,
"pending_email": "string",
"pending_email_token_sent_at": "2026-01-15T10:30:00Z",
"pending_email_state": "active",
"notification_config": {
"anomaly_events": true,
"client_offline": true,
"client_degraded": true,
"study_execution_failures": true,
"anomaly_events_frequency": "immediate",
"anomaly_events_digest_hours": 0,
"anomaly_events_digest_interval_unit": "hour",
"anomaly_events_digest_interval_count": 0,
"anomaly_events_digest_at_time": "string",
"anomaly_events_digest_day_of_week": 0
}
}
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
GET /client_admin_users/{id}
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
id |
path | string | No |
Response 200 OK
- application/json
{
"user": {
"id": 0,
"email": "user@example.com",
"username": "string",
"role": "org_admin",
"first_name": "string",
"last_name": "string",
"ai_usage_accepted": true,
"ai_custom_prompt": "string",
"last_visited_dashboard_version": "string",
"dashboard_whats_new_disabled": true,
"pending_email": "string",
"pending_email_token_sent_at": "2026-01-15T10:30:00Z",
"pending_email_state": "active",
"notification_config": {
"anomaly_events": true,
"client_offline": true,
"client_degraded": true,
"study_execution_failures": true,
"anomaly_events_frequency": "immediate",
"anomaly_events_digest_hours": 0,
"anomaly_events_digest_interval_unit": "hour",
"anomaly_events_digest_interval_count": 0,
"anomaly_events_digest_at_time": "string",
"anomaly_events_digest_day_of_week": 0
}
}
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
PUT /client_admin_users/{id}
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
id |
path | string | No |
Request body
- application/json
{
"first_name": "string",
"last_name": "string",
"ai_usage_accepted": true,
"ai_custom_prompt": "string",
"last_visited_dashboard_version": "string",
"dashboard_whats_new_disabled": true,
"notification_config": {
"anomaly_events": true,
"client_offline": true,
"client_degraded": true,
"study_execution_failures": true,
"anomaly_events_frequency": "immediate",
"anomaly_events_digest_hours": 0,
"anomaly_events_digest_interval_unit": "hour",
"anomaly_events_digest_interval_count": 0,
"anomaly_events_digest_at_time": "string",
"anomaly_events_digest_day_of_week": 0
}
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the request body
Response 200 OK
- application/json
{
"user": {
"id": 0,
"email": "user@example.com",
"username": "string",
"role": "org_admin",
"first_name": "string",
"last_name": "string",
"ai_usage_accepted": true,
"ai_custom_prompt": "string",
"last_visited_dashboard_version": "string",
"dashboard_whats_new_disabled": true,
"pending_email": "string",
"pending_email_token_sent_at": "2026-01-15T10:30:00Z",
"pending_email_state": "active",
"notification_config": {
"anomaly_events": true,
"client_offline": true,
"client_degraded": true,
"study_execution_failures": true,
"anomaly_events_frequency": "immediate",
"anomaly_events_digest_hours": 0,
"anomaly_events_digest_interval_unit": "hour",
"anomaly_events_digest_interval_count": 0,
"anomaly_events_digest_at_time": "string",
"anomaly_events_digest_day_of_week": 0
}
}
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
DELETE /client_admin_users/{id}
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
id |
path | string | No |
Response 200 OK
- application/json
Schema of the response body
{
"description": "Response for client admin user destroy action",
"type": "object",
"properties": {}
}
POST /client_admin_users/{id}/email_change
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
id |
path | string | No |
Response 200 OK
DELETE /client_admin_users/{id}/email_change
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
id |
path | string | No |
Response 200 OK
Schemas
ClientAdminUserCreateData
| Name | Type |
|---|---|
email |
string(email) |
first_name |
string| null |
last_name |
string| null |
notification_config |
Properties: anomaly_events, client_offline, client_degraded, study_execution_failures, anomaly_events_frequency, anomaly_events_digest_hours, anomaly_events_digest_interval_unit, anomaly_events_digest_interval_count, anomaly_events_digest_at_time, anomaly_events_digest_day_of_week |
notify_user |
boolean |
role |
string |
username |
string |
ClientAdminUserCreateResponse
| Name | Type |
|---|---|
user |
Properties: id, email, username, role, first_name, last_name, ai_usage_accepted, ai_custom_prompt, last_visited_dashboard_version, dashboard_whats_new_disabled, pending_email, pending_email_token_sent_at, pending_email_state, notification_config |
ClientAdminUserDestroyResponse
ClientAdminUserIndexResponse
| Name | Type |
|---|---|
users |
Array<Properties: id, email, username, role, first_name, last_name, ai_usage_accepted, ai_custom_prompt, last_visited_dashboard_version, dashboard_whats_new_disabled, pending_email, pending_email_token_sent_at, pending_email_state, notification_config> |
ClientAdminUserShowResponse
| Name | Type |
|---|---|
user |
Properties: id, email, username, role, first_name, last_name, ai_usage_accepted, ai_custom_prompt, last_visited_dashboard_version, dashboard_whats_new_disabled, pending_email, pending_email_token_sent_at, pending_email_state, notification_config |
ClientAdminUserUpdateData
| Name | Type |
|---|---|
ai_custom_prompt |
string| null |
ai_usage_accepted |
boolean| null |
dashboard_whats_new_disabled |
boolean |
first_name |
string| null |
last_name |
string| null |
last_visited_dashboard_version |
string| null |
notification_config |
Properties: anomaly_events, client_offline, client_degraded, study_execution_failures, anomaly_events_frequency, anomaly_events_digest_hours, anomaly_events_digest_interval_unit, anomaly_events_digest_interval_count, anomaly_events_digest_at_time, anomaly_events_digest_day_of_week |
ClientAdminUserUpdateResponse
| Name | Type |
|---|---|
user |
Properties: id, email, username, role, first_name, last_name, ai_usage_accepted, ai_custom_prompt, last_visited_dashboard_version, dashboard_whats_new_disabled, pending_email, pending_email_token_sent_at, pending_email_state, notification_config |
Security schemes
<tr>
<td>ApiKeyAuth</td>
<td>apiKey</td>
<td></td>
<td>API key used on every request. Create keys in the Surfmeter Dashboard
under Keys → Surfmeter API Keys.
</tbody>
| Name | Type | Scheme | Description |
|---|