Command

nylas agent policy update

Update a policy

Written by Qasim Muhammad Staff SRE

What does nylas agent policy update do?

The nylas agent policy update command updates a policy. It is part of the Agent Accounts commands, which create and manage Nylas-managed agent accounts, policies, and rules.

Usage

nylas agent policy update

Flags

FlagDescription
--data stringInline JSON request body
--data-file stringPath to a JSON request body file
--name stringUpdated policy name
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations

Examples

The nylas agent policy update command updates a policy.

JSON output for scripting

nylas agent policy update --json

Filter by data

nylas agent policy update --data <value> --json

Troubleshooting

Command not found or fails

Run `nylas auth config` and `nylas auth login` to authenticate first.

Recommended guides

Run nylas agent policy update --help for full help output.