Write settings
ayx one write-settings manages write settings for your Alteryx One workspace. Write settings are named configurations that control where a flow writes its output — the destination connection, format, and related options. Flows reference a write setting by ID, letting you change the output target without editing the flow itself.
Mutating commands are dry-run by default. Add --apply to commit.
Quick reference
Section titled “Quick reference”| Command | What it does |
|---|---|
ayx one write-settings list |
List all write settings; supports pagination |
ayx one write-settings count |
Return the total count |
ayx one write-settings create --body <json> |
Create a write setting |
ayx one write-settings detail <id> |
Get details for a single write setting |
ayx one write-settings update <id> --body <json> |
Update a write setting |
ayx one write-settings delete <id> |
Delete a write setting |
Listing and counting
Section titled “Listing and counting”# List all write settingsayx one write-settings list
# Follow all pages automaticallyayx one write-settings list --all
# Limit resultsayx one write-settings list --limit 50
# Count onlyayx one write-settings count--page-token <token> resumes from a known pagination position. --max-pages <n> caps automatic pagination.
Getting details
Section titled “Getting details”ayx one write-settings detail <id>Add --profile <name> to target a non-default workspace.
Creating a write setting
Section titled “Creating a write setting”Pass the full write setting definition as a JSON body:
# Dry-run — shows the request, sends nothingayx one write-settings create --body '{"name": "prod-output", ...}'
# Commitayx one write-settings create --body '{"name": "prod-output", ...}' --applyUpdating a write setting
Section titled “Updating a write setting”ayx one write-settings update <id> --body '{"name": "renamed"}' --applyDeleting a write setting
Section titled “Deleting a write setting”# Dry-runayx one write-settings delete <id>
# Commit (skip TTY prompt in scripts)ayx one write-settings delete <id> --apply --yesJSON output
Section titled “JSON output”ayx --output json one write-settings listThe envelope is { ok, message, timestamp_utc, data } on success; failures also include error_code.
Related
Section titled “Related”- Output objects — the output endpoints that flows write to
- Alteryx One overview — all
ayx oneareas - Safety model — dry-run and
--apply