Saltar al contenido

Delete a person calendar feed

Módulo Platform

DELETE/person-calendar-feeds/{id}personCalendarFeeds.delete

A person's own iCalendar feed across every org they work with through an engagement (1410): their published shifts and the meetings, milestones and deadlines shared with them. Only a hash of the token is kept; the token is shown once by personCalendarFeeds.create and personCalendarFeeds.rotate, and deleting the feed revokes it for good. Soft-deletes the person calendar feed: it moves to Trash and can be restored for its table's retention period.

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

Parámetros de ruta y de consulta

personCalendarFeeds.delete: Parámetros de ruta y de consulta
CampoTipoObligatorioDescripción
idstring (uuid)SíIdentifier of the person calendar feed.

Respuesta 204: sin cuerpo.

Ejemplos de código

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