Skip to main content
GET
/
sites
/
environments
/
{env_id}
/
ssh
/
get-allowed-ips
Get SFTP/SSH IP allowlist
curl --request GET \
  --url https://api.kinsta.com/v2/sites/environments/{env_id}/ssh/get-allowed-ips \
  --header 'Authorization: Bearer <token>'
{
  "environment": {
    "active_container": {
      "sftp_ip_allowlist": [
        "127.0.0.1"
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successfully found IP allowlist

environment
object
required