Skip to content
Skip to main content
PUT
/v3/policies/{policy_id}

Update a policyBeta

Updates the specified policy. All fields are optional — only provided fields are updated. The same plan-limit, spam sensitivity, and retention-period validation applies as on create.

NYLAS API KEY

Parameters

Path parameters

policy_id*string

The ID of the policy to access.

Request body

namestring
Example: "Updated policy name"
optionsobject
limitsobject
rulesarray<string>
Example: ["c1d2e3f4-5678-4abc-9def-0123456789ab"]
spam_detectionobject

Responses

request_idstring

ID of the request.

Example: "5fa64c92-e840-4357-86b9-2aa364d35b88"
dataobject
PUThttps://api.us.nylas.com/v3/policies/{policy_id}

Find your API key in the Nylas Dashboard under API Keys in your application settings.

policy_idrequiredstring

The ID of the policy to access.

Loading editor...

Autocomplete and validation come from this endpoint's request schema.