Skip to content

Update Person Email List For Self

POST
/users/v1/person/me/email/list

Update the email list for person on the access token. This is used to control which emails a person receives.

Authorizations

Request Body required

Request to update a person’s email list subscriptions

object
email_list_ids

List of all email list ids the user is subscribed to, even if already subscribed before request

Array<integer>
default:

Responses

200

Successful Response

403

Error Codes:

  • auth_invalid_key_id - Invalid Authorization - Invalid Key ID in Access Token
  • auth_invalid_version - Invalid Authorization - version
  • auth_malformed_access - Invalid Authorization - malformed access token
  • auth_not_jwt - Invalid Authorization
  • auth_token_expired - Token is expired
  • auth_token_format - Invalid Authorization - {}
  • auth_token_invalid_claim - Token contained invalid claim value: {}
  • auth_token_sig_invalid - Token Signature is invalid
  • auth_token_unknown - Failed to parse token
  • insufficient_permissions - Insufficient Permissions
object
auth_success
boolean
default: true
error_code
required
string
desc
required
string

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string