AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station SFTP User → Create User

AI-generated

Summary

Creates a new SFTP user for a specified AzuraCast station.

Inputs

  • station_id (required) — Station identifier (name or ID) for the new SFTP user.
  • password — Optional password for the new SFTP user.
  • publicKeys — Optional SSH public key(s) for the new SFTP user.
  • username — Optional username for the new SFTP user.
  • sendAdditionalHeaders — If true, includes extra HTTP headers in the request.
  • additionalHeaders — JSON object of additional HTTP headers to send.
  • bodyModeOverride — Select request body mode; overrides automatic field generation.
  • manualJsonBody — JSON payload used when bodyModeOverride is set to JSON.
  • manualRawBody — Raw text body used when bodyModeOverride is set to Raw.
  • responseFormat — Define how the response should be parsed (JSON, binary, text, etc.).
  • returnFullResponse — If true, returns the full HTTP response including headers and status.
  • wrapResponseData — If true, wraps the response body in a single output item.

Output shape

the created SFTP user object

If returnFullResponse is true, the full HTTP response is returned; otherwise only the user object. No pagination.

Examples

Example 1: Add an SFTP user with password and public key to station ID 5

station_id=5; password=secure123; publicKeys=ssh-rsa AAA...; username=devuser; sendAdditionalHeaders=false; additionalHeaders={}; bodyModeOverride=json; responseFormat=json; returnFullResponse=true

Example 2: Create an SFTP user using default body mode and return only the user object

station_id=7; username=newuser; password=; publicKeys=; bodyModeOverride=auto; responseFormat=auto; returnFullResponse=false

Links

Discussion