Update users by bulk to change their order.
Request parameters
{
"newStaffsOrdering": {}
}
Responses
{
"id": "b80bb774-0288-3da1-b201-890375a60c8f",
"createdAt": "1998-11-02T21:37:14Z",
"updatedAt": "2011-11-10T04:49:59Z",
"firstname": "example",
"lastname": "example",
"username": "example",
"roleId": "9c9df3cb-ec73-3aa6-866a-cdbba0d1714d",
"role": {
"id": "b80bb774-0288-3da1-b201-890375a60c8f",
"createdAt": "1998-11-02T21:37:14Z",
"updatedAt": "2011-11-10T04:49:59Z",
"name": "example"
},
"passwordHash": "example",
"email": "email@example.com",
"color": 23,
"restaurantId": "f459eb7f-8954-39fb-b7ad-424937beb163",
"passwordResetToken": "example",
"passwordResetTokenExpiryDate": "2016-12-01T03:13:25Z",
"sortingIndex": 66
}
{
"type": "example",
"title": "example",
"status": 50,
"detail": "example",
"instance": "example"
}
{
"type": "example",
"title": "example",
"status": 50,
"detail": "example",
"instance": "example"
}
{
"type": "example",
"title": "example",
"status": 50,
"detail": "example",
"instance": "example"
}
{
"type": "example",
"title": "example",
"status": 50,
"detail": "example",
"instance": "example"
}
Last modified: 21 May 2024