Last updated 6 months ago
Retrieve details for a single SFTP user.
SFTP User ID
GET /api/station/{station_id}/sftp-user/{id} HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Accept: */*
Success
{ "id": 1, "username": "text", "password": "text", "publicKeys": "text" }
Delete a single remote relay.
Remote Relay ID
DELETE /api/station/{station_id}/sftp-user/{id} HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Accept: */*
{ "success": true, "message": "Changes saved successfully.", "formatted_message": "<b>Changes saved successfully.</b>" }
List all current SFTP users.
GET /api/station/{station_id}/sftp-users HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Accept: */*
[ { "id": 1, "username": "text", "password": "text", "publicKeys": "text" } ]
Create a new SFTP user.
POST /api/station/{station_id}/sftp-users HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 64 { "id": 1, "username": "text", "password": "text", "publicKeys": "text" }
Update details of a single SFTP user.
PUT /api/station/{station_id}/sftp-user/{id} HTTP/1.1 Host: listen.dovafm.xyz X-API-Key: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 64 { "id": 1, "username": "text", "password": "text", "publicKeys": "text" }