Get Environment SSH Accesses
GET
/v1/environments/{id}/ssh-accessGet all the SSH keys that have access to an environment.
Request
Path Params
id
string
required
Header Params
Accept
string
required
Example:
application/json
Content-Type
string
required
Example:
application/json
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {3}]
required
id
integer
optional
type
string
optional
attributes
object
optional
Example
{
"data": [
{
"id": 240,
"type": "ssh_access",
"attributes": {
"sshkey_id": 82,
"vhost_id": 1785,
"status": "installed",
"expires_at": "2024-05-10 13:19:16+02",
"enabled": true,
"sshkeyEnabled": true,
"fingerprint": "d2:9c:a1:99:3d:e4:db:f2:38:27:6c:be:15:71:fb:5b",
"reason": "CLNT:client-added",
"customer": "Sergio"
}
}
]
}
Modified at 4 months ago