---
updatedAt: 2026-10-31T08:03:05.000Z
agentTools:
  projectIndex: https://developer.accelevents.com/llms.txt
---

# Update Event staff

This API is used to update staff to the event. This API can be accessed by event admin and super admin. We need to pass the authentication key to authenticate the user, staffId, and body param of staff pass. It contains staff details of the staff for the event. this API is used on the manage team page. Users can use this API to update first name, last name, email, and many more.

If the API is executed successfully, here is the description of response attributes, which returns to the form of JSON.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Attribute
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        message
      </td>

      <td style={{ textAlign: "left" }}>
        Staff added to event -> In permissions select Staff.\
        Admin updated for event -> In permission select Admin
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        type
      </td>

      <td style={{ textAlign: "left" }}>
        Success
      </td>
    </tr>
  </tbody>
</Table>

Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Error code
      </th>

      <th>
        Error Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        4090121
      </td>

      <td>
        User has already logged in at website. Can't change email now!
      </td>
    </tr>

    <tr>
      <td>
        4090110
      </td>

      <td>
        You have already added this team member.
      </td>
    </tr>

    <tr>
      <td>
        4090120
      </td>

      <td>
        This email address is already assigned. You can not change existing staff with this email address.
      </td>
    </tr>

    <tr>
      <td>
        4060026
      </td>

      <td>
        Cannot make last event admin as staff.
      </td>
    </tr>

    <tr>
      <td>
        4060044
      </td>

      <td>
        Cannot make last event Exhibitor Admin as Lead Retriever.
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "accelevents",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.accelevents.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/rest/host/event/{eventUrl}/usermanagement/staff/{staffId}": {
      "put": {
        "summary": "Update Event staff",
        "description": "This API is used to update staff to the event. This API can be accessed by event admin and super admin. We need to pass the authentication key to authenticate the user, staffId, and body param of staff pass. It contains staff details of the staff for the event. this API is used on the manage team page. Users can use this API to update first name, last name, email, and many more.",
        "operationId": "update-event-staff",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "API Authorization token",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "staffId",
            "in": "path",
            "description": "Staff id is unique number, Contains staff user id.",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "required": true
          },
          {
            "name": "eventUrl",
            "in": "path",
            "description": "Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "RAW_BODY": {
                    "type": "object",
                    "properties": {
                      "email": {
                        "type": "string",
                        "description": "It contains email of staff user."
                      },
                      "firstName": {
                        "type": "string",
                        "description": "It contains first name of the staff user, if not passed will be update as null value."
                      },
                      "lastName": {
                        "type": "string",
                        "description": "It contains last name of the staff user, if not passed will be update as null value."
                      },
                      "id": {
                        "type": "integer",
                        "description": "it is unique id of staff",
                        "format": "int64"
                      },
                      "role": {
                        "type": "string",
                        "description": "role must be either admin or staff or whitelabeladmin."
                      },
                      "allowToBookMeeting": {
                        "type": "boolean",
                        "description": "Allow to book a meeting from expo page."
                      },
                      "allowDirectMessages": {
                        "type": "boolean",
                        "description": "Allow direct message from expo page."
                      },
                      "isLoggedInAtVEH": {
                        "type": "boolean",
                        "description": "It's contains return true or false value for logged in virtual event hub."
                      },
                      "isAllowAttendeeAccess": {
                        "type": "boolean",
                        "description": "Allow to attendee access for staff."
                      },
                      "ticketTypesForStaff": {
                        "type": "array",
                        "description": "Ticket types for allow attendee access to staff",
                        "items": {
                          "properties": {
                            "userId": {
                              "type": "integer",
                              "description": "It's contain unique identify .",
                              "format": "int64"
                            },
                            "ticketTypeId": {
                              "type": "integer",
                              "description": "It's contains the unique ticket type id.",
                              "format": "int64"
                            },
                            "isStaffOrder": {
                              "type": "boolean",
                              "description": "It's contains return true or false value."
                            }
                          },
                          "type": "object"
                        }
                      },
                      "user": {
                        "type": "object",
                        "properties": {
                          "userId": {
                            "type": "integer",
                            "description": "It contain user id",
                            "format": "int64"
                          },
                          "password": {
                            "type": "string",
                            "description": "it contain password"
                          },
                          "email": {
                            "type": "string",
                            "description": "it contain email"
                          },
                          "firstName": {
                            "type": "string"
                          },
                          "lastName": {
                            "type": "string"
                          },
                          "phoneNumber": {
                            "type": "integer",
                            "format": "int64"
                          },
                          "address1": {
                            "type": "string"
                          },
                          "address2": {
                            "type": "string"
                          },
                          "zipcode": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "cityOrProvidence": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          },
                          "passwordResetToken": {
                            "type": "string"
                          },
                          "mostRecentEventId": {
                            "type": "integer",
                            "format": "int64"
                          },
                          "marketingOptIn": {
                            "type": "boolean"
                          },
                          "fbUserId": {
                            "type": "string"
                          },
                          "googleUserId": {
                            "type": "string"
                          },
                          "linkedinUserId": {
                            "type": "string"
                          },
                          "photo": {
                            "type": "string"
                          },
                          "coverPhoto": {
                            "type": "string"
                          },
                          "showExhibitorMenu": {
                            "type": "boolean"
                          },
                          "languageCode": {
                            "type": "string"
                          },
                          "pushNotificationToken": {
                            "type": "string"
                          },
                          "": {
                            "type": "string"
                          },
                          "signUpDate": {
                            "type": "string",
                            "format": "date"
                          },
                          "countryCode": {
                            "type": "string",
                            "enum": [
                              "US(1)",
                              "AF(93)",
                              "AL(355)",
                              "AS(1684)",
                              "DZ(213)",
                              "DO(1)",
                              "AD(376)",
                              "AO(244)",
                              "AG(1268)",
                              "AI(1264)",
                              "AR(54)",
                              "AM(374)",
                              "AW(297)",
                              "AU(61)",
                              "AT(43)",
                              "AZ(994)",
                              "BS(973)",
                              "BB(1246)",
                              "BH(973)",
                              "BM(1441)",
                              "BD(880)",
                              "BQ(599)",
                              "BY(375)",
                              "BE(32)",
                              "BZ(501)",
                              "BJ(229)",
                              "BT(975)",
                              "BA(387)",
                              "BW(267)",
                              "BR(55)",
                              "IO(246)",
                              "BG(359)",
                              "BF(226)",
                              "BI(257)",
                              "KH(855)",
                              "KY(1345)",
                              "CM(237)",
                              "CA(1)",
                              "CV(238)",
                              "CF(236)",
                              "TD(235)",
                              "CL(56)",
                              "CN(86)",
                              "CX(61)",
                              "CO(57)",
                              "KM(269)",
                              "CG(242)",
                              "CK(682)",
                              "CR(506)",
                              "HR(385)",
                              "CU(53)",
                              "CY(537)",
                              "CW(599)",
                              "CZ(420)",
                              "DK(45)",
                              "DJ(253)",
                              "DM(1767)",
                              "EC(593)",
                              "EG(20)",
                              "SV(503)",
                              "GQ(240)",
                              "ER(291)",
                              "EE(372)",
                              "ET(251)",
                              "FO(298)",
                              "FJ(679)",
                              "FI(358)",
                              "FR(33)",
                              "GF(594)",
                              "PF(689)",
                              "GA(241)",
                              "GM(220)",
                              "GE(995)",
                              "DE(49)",
                              "GH(233)",
                              "GI(350)",
                              "GR(30)",
                              "GL(299)",
                              "GD(1473)",
                              "GP(590)",
                              "GT(502)",
                              "GN(224)",
                              "GW(245)",
                              "GY(595)",
                              "HT(509)",
                              "HN(504)",
                              "HU(36)",
                              "IS(354)",
                              "IN(91)",
                              "ID(62)",
                              "IQ(964)",
                              "IE(353)",
                              "IL(972)",
                              "IT(39)",
                              "JP(81)",
                              "JO(962)",
                              "KE(254)",
                              "KI(686)",
                              "KW(965)",
                              "KG(996)",
                              "KZ(7)",
                              "LV(371)",
                              "LB(961)",
                              "LS(266)",
                              "LR(231)",
                              "LI(423)",
                              "LT(370)",
                              "LU(352)",
                              "MG(261)",
                              "MW(265)",
                              "MY(60)",
                              "MV(960)",
                              "ML(223)",
                              "MT(356)",
                              "MH(692)",
                              "MQ(596)",
                              "MR(222)",
                              "MU(230)",
                              "YT(262)",
                              "MX(52)",
                              "MC(377)",
                              "MN(976)",
                              "ME(382)",
                              "MS(1664)",
                              "MA(212)",
                              "MM(95)",
                              "NA(264)",
                              "NR(674)",
                              "NP(977)",
                              "NL(31)",
                              "AN(599)",
                              "NC(687)",
                              "NZ(64)",
                              "NI(505)",
                              "NE(227)",
                              "NG(234)",
                              "NU(683)",
                              "NF(672)",
                              "NO(47)",
                              "OM(968)",
                              "PK(92)",
                              "PW(680)",
                              "PA(507)",
                              "PG(675)",
                              "PY(595)",
                              "PE(51)",
                              "PH(63)",
                              "PL(48)",
                              "PR(1)",
                              "PT(351)",
                              "QA(974)",
                              "RO(40)",
                              "RW(250)",
                              "WS(685)",
                              "SM(378)",
                              "SA(966)",
                              "SN(221)",
                              "RS(381)",
                              "SC(248)",
                              "SL(232)",
                              "SG(65)",
                              "SK(421)",
                              "SI(386)",
                              "SB(677)",
                              "ZA(27)",
                              "GS(500)",
                              "ES(34)",
                              "LK(94)",
                              "SD(249)",
                              "SR(597)",
                              "SZ(268)",
                              "SE(46)",
                              "CH(41)",
                              "TJ(992)",
                              "TH(66)",
                              "TG(228)",
                              "TK(690)",
                              "TO(676)",
                              "TN(216)",
                              "TR(90)",
                              "TM(993)",
                              "TV(688)",
                              "UG(256)",
                              "UA(380)",
                              "AE(971)",
                              "GB(44)",
                              "UY(598)",
                              "UZ(998)",
                              "VU(678)",
                              "WF(681)",
                              "YE(967)",
                              "ZM(260)",
                              "ZW(263)",
                              "BO(591)",
                              "BN(673)",
                              "CC(61)",
                              "CD(243)",
                              "CI(225)",
                              "FK(500)",
                              "GG(44)",
                              "VA(379)",
                              "HK(852)",
                              "IR(98)",
                              "IM(44)",
                              "JE(44)",
                              "JM(1876)",
                              "KP(850)",
                              "KR(82)",
                              "LA(856)",
                              "LY(218)",
                              "MO(853)",
                              "MK(389)",
                              "FM(691)",
                              "MD(373)",
                              "MP(1970)",
                              "MZ(258)",
                              "PS(970)",
                              "PN(872)",
                              "RE(262)",
                              "RU(7)",
                              "BL(590)",
                              "SH(290)",
                              "MF(590)",
                              "PM(508)",
                              "ST(239)",
                              "SO(252)",
                              "SJ(47)",
                              "SY(963)",
                              "TW(886)",
                              "TZ(255)",
                              "TL(670)",
                              "VE(58)",
                              "VN(84)",
                              "VG(1284)",
                              "VI(1340)",
                              "XK(383)",
                              "KN(1869)",
                              "LC(1785)",
                              "VC(1784)",
                              "SX(1721)",
                              "SS(211)",
                              "TT(1868)",
                              "TC(1649)",
                              "EH(212)",
                              "AX(358)",
                              "GU(1671)"
                            ]
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"type\": \"Success\",\n  \"message\": \"Admin updated for event\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "example": "Success"
                    },
                    "message": {
                      "type": "string",
                      "example": "Admin updated for event"
                    }
                  }
                }
              }
            }
          },
          "201": {
            "description": "201",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "Created"
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```