Delete Staff

This API is used to delete event staff from the event by staff id. This API can be accessed by event admin and super admin. We need to pass the authentication key to authenticate the user, staffId pass as path param. This API is used on the manage team page.

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

messageSuccessfully removed

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

Error codeError Description
4040002Staff detail not found
4060002You cannot delete yourself from the staff list.
4060055Cannot delete event admin connected with Stripe/Square.
4060003Cannot delete last event admin.
Click Try It! to start a request and see the response here!