A JSON response with a success message if the agent is soft-deleted successfully.
A 403 Forbidden error if the user lacks permission to delete the agent.
A 404 Not Found error if the agent does not exist.
A 500 Internal Server Error for unexpected failures.