Saltar al contenido

Delete a record watcher

Módulo Work

DELETE/record-watchers/{id}recordWatchers.delete

A person watching a record for notifications. Soft-deletes the record watcher: it moves to Trash and can be restored for its table's retention period.

  • Requiere la capacidad inbox.notifications.write.
  • Alcances de OAuth: inbox.
  • Estados de error: 401, 404, 422, 429. Los errores son detalles de problema RFC 9457.

Parámetros de ruta y de consulta

recordWatchers.delete: Parámetros de ruta y de consulta
CampoTipoObligatorioDescripción
idstring (uuid)SíIdentifier of the record watcher.

Respuesta 204: sin cuerpo.

Ejemplos de código

curl -X DELETE "$XOS_BASE_URL/record-watchers/0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f" \
  -H "Authorization: Bearer $XOS_API_KEY"
const { data } = await xos.recordWatchers.delete("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f");
response = xos.record_watchers.delete("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f")
xos record-watchers delete 0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f