Skip to main content
GET
/
sites
/
environments
/
{env_id}
/
ssh
/
get-status
Get SFTP/SSH status
curl --request GET \
  --url https://api.kinsta.com/v2/sites/environments/{env_id}/ssh/get-status \
  --header 'Authorization: Bearer <token>'
{
  "environment": {
    "active_container": {
      "is_ssh_enabled": true
    }
  }
}

Authorizations

Authorization
string
header
required

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

Response

Successfully found redirect rules

environment
object
required