users
5 operation(s). All run through POST /syteops/v1/manage/dispatch (reads may use the documented GET form).
create
Create a SyteOps team-member record in the next free slot and fill its fields.
Capability: manage_options
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
first_name | string | no | |
last_name | string | no | |
full_name | string | no | |
nickname | string | no | |
company_name | string | no | |
phone_number | string | no | |
phone_map_pref | string | no | |
email | no | ||
email_alternate | no | ||
email_personal | no | ||
link_profile_pic | url | no | |
link_profile_pic_attachment_id | integer | no |
Returns
data: {user_num, ...fields}
Request
{
"resource": "users",
"action": "create",
"params": {
"first_name": "string",
"last_name": "string",
"full_name": "string",
"nickname": "string",
"company_name": "string",
"phone_number": "string",
"phone_map_pref": "string",
"email": "[email protected]",
"email_alternate": "[email protected]",
"email_personal": "[email protected]",
"link_profile_pic": "https://example.com",
"link_profile_pic_attachment_id": 0
}
}
delete
Soft-delete a SyteOps team-member record (frees its slot for reuse).
🔴 Destructive — requires confirm: true.
Capability: manage_options
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
user_num | string | yes | |
confirm | boolean | no |
Returns
data: {user_num, deleted: true}
Request
{
"resource": "users",
"action": "delete",
"params": {
"user_num": "string",
"confirm": true
},
"confirm": true
}
get
Get one SyteOps team-member record by slot number (e.g. "003").
Capability: manage_options
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
user_num | string | yes |
Returns
data: {user_num, ...fields}
Request
{
"resource": "users",
"action": "get",
"params": {
"user_num": "string"
}
}
list
List all active SyteOps team-member records.
Capability: manage_options
Parameters
No parameters.
Returns
data.users[]: array of {user_num, ...fields}
Request
{
"resource": "users",
"action": "list",
"params": {}
}
update
Update fields on an existing SyteOps team-member record.
Capability: manage_options
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
user_num | string | yes | |
first_name | string | no | |
last_name | string | no | |
full_name | string | no | |
nickname | string | no | |
company_name | string | no | |
phone_number | string | no | |
phone_map_pref | string | no | |
email | no | ||
email_alternate | no | ||
email_personal | no | ||
link_profile_pic | url | no | |
link_profile_pic_attachment_id | integer | no |
Returns
data: {user_num, ...fields}
Request
{
"resource": "users",
"action": "update",
"params": {
"user_num": "string",
"first_name": "string",
"last_name": "string",
"full_name": "string",
"nickname": "string",
"company_name": "string",
"phone_number": "string",
"phone_map_pref": "string",
"email": "[email protected]",
"email_alternate": "[email protected]",
"email_personal": "[email protected]",
"link_profile_pic": "https://example.com",
"link_profile_pic_attachment_id": 0
}
}