# API: Edit Staff Member

# editStaffMember

Edit Staff Member details by ID. Send only fields required to change

# Required parameters

Parameter Description
id Staff Id

# Optional parameters

Parameter Description
username Username
firstname Firstname
lastname Lastname
email Email
signature Signature Admin
status One of: Active, Inactive
teams List of team ids to assign staff to, separated by comma
custom If staff member have custom fields, enter its variable name and value in request to set it

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=editStaffMember&id=ID

# PHP Samples

# Response

{
    "success": true,
    "call": "editStaffMember",
    "server_time": 1718875270,
    "info": [
        "Admin details changed"
    ]
}
Last Updated: 10/7/2024, 2:36:43 PM