ShiftWise API Docs
    Preparing search index...

    Function NoContent

    • Sends a 204 No Content response with no body. Use for successful DELETE operations or updates where no data needs returning.

      Parameters

      • res: Response

        Express response object

      Returns Response<any, Record<string, any>>

      await prisma.membership.delete({ where: { ... } })
      NoContent(res)