Skip to main content
POST
Unlink Policy Person Emails

Authorizations

Authorization
string
header
required

User-principal OAuth 2.0 Bearer authentication. Send a user-scoped Auth0 access token (audience = the app API audience) as Authorization: Bearer <jwt>. The request resolves to the user's identity and is authorized by their Role on the {companyId} in the path — the same role-based permissions the web app enforces. This is the path the MCP connector uses to act on a user's behalf; endpoints that accept it list both BearerAuth and ApiKeyAuth.

Path Parameters

companyId
string<uuid>
required

Company identifier

policyId
string<uuid>
required

Policy identifier

personId
string<uuid>
required

The person's id.

Body

application/json
from
string<date-time> | null
required

Remove links on email sent at or after this time, with an offset or Z. Null removes all of them.

Response

The links were removed

removed
integer
required

The number of messages removed from the record.