API: Delete Admin User

Request

Soft delete a specific admin-user by ID:

DELETE /admin-users/{id}

Sample Response:


{
  "status": "success",
  "message": "Seat plane deleted successfully",
  "data": null
}
                

Notes:

  • The admin-user ID is required in the URL to specify which admin-user to delete.
  • If the admin-user does not exist or has already been deleted, the API will return a 404 error.
  • This is a soft delete operation - the admin-user record remains in the database but is marked as deleted.