Restore removed content after staff review

Human review overrides the earlier removal. Requires an audited reason; does not reopen tasks or change work/payment states. Deleted comments cannot be restored.

post/api/admin/content/restore

Request

  • Base URL
    https://www.toma.com
  • URL
    https://www.toma.com/api/admin/content/restore
  • Auth
    • HTTP bearer
    • or API key in cookie better-auth.session_token

Request body

targetType'task' | 'comment' required
targetIdstring required
notestring required

Response

Restored.

restoredtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.