Liveforce
  1. Staff API Overview
Liveforce
  • Introduction
  • Staff API Overview
    • List Staff Members
      GET
    • Get Staff Member Details
      GET
    • Create a Staff Member
      POST
    • Update a Staff Member
      PUT
  • Leads API Overview
    • List Leads
      GET
    • Get Lead Details
      GET
    • Leads Summary
      GET
    • Leads Count by Status
      GET
    • Leads Types
      GET
    • Lead Notes List
      GET
    • Lead Note Detail
      GET
    • Lead Notes Create
      POST
    • Lead Notes Update
      PUT
    • Lead Files
      GET
    • Upload Lead File
      POST
    • Generate Report
      GET
    • Generate CSV Report
      GET
  • Call Logs API Overview
    • List Call Logs
      GET
    • Get Call Log Detail
      GET
  • Tickets API Overview
    • List Tickets
      GET
    • Create a Ticket
      POST
    • Get Ticket Details
      GET
    • List Ticket Statuses
      GET
  • Deals Management API Overview
    • List Deals
      GET
    • Create a Deal
      POST
    • Update a Deal
      PUT
    • Get a Deal Details
      GET
    • List Deals Sources
      GET
    • List Deals Pipeline
      GET
    • Add a Deal Comment
      POST
    • Update a Deal Comment
      PUT
    • Add an Attachment
      POST
    • Delete an Attachment
      DELETE
    • List a Deal Services
      GET
    • Get a Deal Service Detail
      GET
    • Add a Deal Service
      POST
    • Update a Deal Service
      PUT
  1. Staff API Overview

Update a Staff Member

PUT
/staff/update/{staff_id}
Updates information for an existing staff member.

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Body Params multipart/form-data
status
string 
required
Example:
1
firstname
string 
required
Example:
doe
lastname
string 
required
Example:
john

Responses

🟢200Success
application/json
Body
data
object 
required
staffid
string 
required
email
string 
required
fullname
string 
required
role
string 
required
last_login
null 
required
active
string 
required
message
string 
required
Example
{
    "data": {
        "staffid": "2",
        "email": "[email protected]",
        "fullname": "doe john",
        "role": "Employee",
        "last_login": null,
        "active": "1"
    },
    "message": "success"
}
🟠422Validations
🟠401Unauthorized
🟠404Not found
Modified at 2024-09-05 09:36:01
Previous
Create a Staff Member
Next
Leads API Overview
Built with