Update SFTP/SSH IP allowlist
curl --request POST \
--url https://api.knst.lol/v2/sites/environments/{env_id}/ssh/set-allowed-ips \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ip_allowlist": [
"127.0.0.1"
]
}
'{
"result": null
}WordPress Site Environments
Update SFTP/SSH IP allowlist
POST
/
sites
/
environments
/
{env_id}
/
ssh
/
set-allowed-ips
Update SFTP/SSH IP allowlist
curl --request POST \
--url https://api.knst.lol/v2/sites/environments/{env_id}/ssh/set-allowed-ips \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ip_allowlist": [
"127.0.0.1"
]
}
'{
"result": null
}⌘I