docs: def delete_action(action_id):
      """Delete action."""
      action = get_data_or_404('action', action_id)
      project = get_data_or_404('project', action['project_id'])
  
      if project['owner_id'] != get_current_user_id():
          return jsonify(message='forbidden'), 403
  
      delete_instance('sender', action['id'])
  
      return jsonify({})