API Reference

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.

Attribute

Description

message

Successfully removed

type

Success

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

Error code

Error Description

4040002

Staff detail not found

4060002

You cannot delete yourself from the staff list.

4060055

Cannot delete event admin connected with Stripe/Square.

4060003

Cannot delete last event admin.

Language
Credentials
Header
Click Try It! to start a request and see the response here!