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. A slot reused after a delete starts with Model consent off and no Model photos.
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 | |
model_photo_ids | object | no | Curated Model photo attachment ids. Site-local; not portable to another site. |
model_photo_exclude_profile | string | no | '1' excludes the profile picture from the curated Model photo set; '' includes it. |
model_consent_granted | string | no | The Model consent flag and the only consent signal: '1' or ''. |
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",
"link_profile_pic": "https://example.com",
"link_profile_pic_attachment_id": 0,
"model_photo_ids": {},
"model_photo_exclude_profile": "string",
"model_consent_granted": "string"
}
}
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 | |
model_photo_ids | object | no | Curated Model photo attachment ids. Site-local; not portable to another site. |
model_photo_exclude_profile | string | no | '1' excludes the profile picture from the curated Model photo set; '' includes it. |
model_consent_granted | string | no | The Model consent flag and the only consent signal: '1' or ''. |
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",
"link_profile_pic": "https://example.com",
"link_profile_pic_attachment_id": 0,
"model_photo_ids": {},
"model_photo_exclude_profile": "string",
"model_consent_granted": "string"
}
}