↑ ↓ to navigate · ↵ to open See all results
DELETE /api/v1/people/{record}/timeline/{type}/{entry}

Delete a person timeline entry

Permanently delete an event or to-do from a person’s timeline, with its files and comments.

Last updated

Request

DELETE /api/v1/people/{record}/timeline/{type}/{entry}

Requires people:read and people:timeline:delete. For a todo entry, people:todos is required as well. See token permissions.

Send Authorization: Bearer YOUR_API_TOKEN and Accept: application/json. Send the request body as JSON with Content-Type: application/json. This write requires Idempotency-Key. Reuse the same key only when retrying the same action.

Path parameters

record integer Required
The numeric person ID in your token’s organization.
type string Required
person_location_event for an event recorded on this person, or todo for one of its to-dos. This matches the type in the timeline.
entry integer Required
The entry’s event_id from the timeline, or the to-do id.

Query parameters

This endpoint does not use query parameters.

Request body

Field Type Required Description
version string Yes The 64-character version from the latest GET of this entry.

Example

Set ASSETCENTER_API_TOKEN as described in the quick start. Replace example record and option IDs with values from your organization. Set IDEMPOTENCY_KEY to a new UUID for this action; keep it for retries. Set VERSION to the version from your latest GET.

cURL / Bash
curl --request DELETE "https://my.assetcenter.app/api/v1/people/123/timeline/person_location_event/901" \
  --header "Authorization: Bearer $ASSETCENTER_API_TOKEN" \
  --header "Accept: application/json" \
  --header "Idempotency-Key: $IDEMPOTENCY_KEY" \
  --header "Content-Type: application/json" \
  --data '{"version":"VERSION"}'

Response

200 OK.

JSON
{
  "data": {
    "entry_id": 901,
    "entry_deleted": true
  }
}

Behavior and constraints

Deletes the entry with its comments and attachments; the person itself is kept. Deletion cannot be undone. Check can_delete from get the entry first: entries the organization’s rules protect from deletion return 403. A stale version returns 409. Retrying with the same key replays the original response after the entry is gone.

Errors

401 means the token is missing, expired, revoked, or not a customer API token. 403 means a required permission or administrator access is missing. 404 means the record or child record is unavailable in this organization. 422 identifies invalid or unsupported input; inspect the errors object when present. 409 indicates a conflicting state or concurrent change; inspect the message and refresh the record before deciding how to proceed. Reusing an idempotency key with a different method, path, or body also returns 409. 429 means a rate limit was reached. See error handling and rate limits.