Lists

Remove a member

Required permissions: people:write.

Removes the membership row. The person or account is untouched. memberId is the row's id from GET /v1/lists/{id}/members, not the person's or account's id. Returns 200 with the row as it was.

delete/v1/lists/{id}/members/{memberId}

Request

  • Base URL: https://api.trayo.ai
  • URL: https://api.trayo.ai/v1/lists/{id}/members/{memberId}
  • Auth: HTTP bearer

Path parameters

idstring uuid required
memberIdstring uuid required

Response

The membership as it existed before removal.

idstring uuid required
listIdstring uuid required
kind'person' | 'account' required
personIdstring nullable required

Set on kind: person. Null on an account entry.

accountIdstring nullable required

On kind: account, THE member. On kind: person, provenance — the account the person belonged to when pinned — and may be null.

via'manual' | 'account' | 'signal' | 'find' | 'import' required
eventIdstring nullable required
perinteger nullable required

Account entries only: how many contacts the app resolves for this account (1 = best contact). Members added here get 1. Null on person rows.

excludedboolean required

A negative membership set in the app — "not this person" against a re-resolving account entry. Read-only here; excluded rows are not counted in memberCount and are omitted from GET …/members.

createdAtstring date-time required

Changes

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