PUT
/
people
/
{personIdOrEmail}
/
opted-out

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

personIdOrEmail
required

The id or email of the person. The id is the internal id of the person or if the email passed is valid then it will be used for lookup

Body

application/json
isOptedOut
boolean
required

Whether the person is opted out of research

Response

200 - application/json
personId
string
required

The ID of the person

isOptedOut
boolean
required

Whether the person is opted out of research

updatedAt
string
required