Command-line tool
sedisto-pcli
A command-line interface for the sedisto Portal API. Manage sites, tenants, rental agreements, and more — directly from your terminal.
1 Installation
Download the binary for your platform above and make it executable:
# macOS / Linux
chmod +x sedisto-pcli_darwin_arm64
mv sedisto-pcli_darwin_arm64 /usr/local/bin/sedisto-pcli
chmod +x sedisto-pcli_darwin_arm64
mv sedisto-pcli_darwin_arm64 /usr/local/bin/sedisto-pcli
On Windows, rename the downloaded .exe and add it to your PATH.
Verify the installation:
sedisto-pcli version
2 Configuration
Create a config file at ~/.sedisto-pcli.yaml:
api_url: https://your-instance.sedisto.net
api_key: your-api-key
api_key: your-api-key
Or use environment variables:
export SEDISTO_API_URL=https://your-instance.sedisto.net
export SEDISTO_API_KEY=your-api-key
export SEDISTO_API_KEY=your-api-key
3 Usage
The CLI is organised into resource groups. Use --help on any command for details.
| Command | Subcommands |
|---|---|
| accounts | list, get |
| apps | space-manager, stora, store-it |
| rental-agreements | list, get, create, update, delete |
| sites | list, get, areas, buildings, floors, units, zones |
| tenant-memberships | list, get, create, update, delete, migrate-to-new-email-address, regenerate-pin-code |
| tenants | list, get, create, update, delete |
Example — list all active sites:
sedisto-pcli sites list
All list commands support pagination (max 100 per page):
sedisto-pcli tenants list --page 2 --per-page 100
4 Updating
The CLI can update itself. It checks for a new release and atomically replaces the running binary:
sedisto-pcli update