How To Set a Value to null via REST API (Postman)?

System Information
  • Strapi Version: 4.13.6
  • Operating System: MacOS Sonoma
  • Database: PostgreSQL
  • Node Version: v18.15.0
  • NPM Version: 9.5.0
  • Yarn Version: 1.22.19

Hello everyone!

I have a table with deleted_at (timestamp) and deleted_by (integer/number) columns. I have successfully set them with timestamp & user ID when deleted, but when I want to restore them by setting them to null, it doesn’t change.

I’ve tried with
deleted_at = null (empty)
deleted_by = null (empty)

or
deleted_at = null (string)
deleted_by = null (string)

or
deleted_at = NULL (string)
deleted_by = NULL (string)

but all that doesn’t change the column value. what should I do?