def METHOD_NAME(self, recurring_api_id):
    """
    ---
    description: Delete an Recurring API.
    tags:
      - recurring_apis
    parameters:
      - in: path
        name: recurring_api_id
        required: true
        schema:
          type: integer
    responses:
      200:
        content:
          application/json:
            schema: Success
    """
    with self.Session() as session:
        recurring_api = session.scalars(
            RecurringAPI.select(session.user_or_token, mode="delete").where(
                RecurringAPI.id == recurring_api_id
            )
        ).first()
        if recurring_api is None:
            return self.error('Cannot delete this Recurring API.', status=403)
        session.METHOD_NAME(recurring_api)
        session.commit()
        self.push_all(action='skyportal/REFRESH_RECURRING_APIS')
        return self.success()