- Home
- Staff Management
- Time Tracking
- Timesheets
- Schedules
- Commissions
- Sales Performance
- Payroll Management
- Checklists
Update staff details
PUT
/staff/{staff_id}
Staff Management
Request
Path Params
staff_id
string
required
Body Params application/json
name
string
required
Example:
John Doe
email
string
required
Example:
john.doe@example.com
role
string
optional
Example:
Manager
location_id
string
required
Example:
67890
Example
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/staff/' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200OK
application/json
Body
id
string
optional
Example:
12345
name
string
optional
Example:
John Doe
email
string
optional
Example:
john.doe@example.com
role
string
optional
Example:
Manager
location_id
string
optional
Example:
67890
created_at
string <date-time>
optional
Example:
2023-08-25T14:30:00Z
Example
{
"id": "12345",
"name": "John Doe",
"email": "john.doe@example.com",
"role": "Manager",
"location_id": "67890",
"created_at": "2023-08-25T14:30:00Z"
}
🟠400Bad Request
🟠404Record Not Found
🔴500Server Error
Modified at 2024-12-17 09:12:01