Overview
Error Handling

Methods

API Documentation (API Version v1)

Account/SSH/Key/

DESCRIPTION

This package contains functions to add, list, update and remove named public ssh keys for use on provisioned servers.

list

URL:

https://api.liquidweb.com/v1/Account/SSH/Key/list

Description:

Parameters:

ParameterTypeNotes
page_numA positive integer value (i.e. 1 and up).* Optional
  • Defaults to: 1
page_sizeA positive integer value (i.e. 1 and up).* Optional
  • Defaults to: 25
public_key_nameA single word, consisting of only letters, digits, and underscores.

Returns:

FieldType
item_countA non-negative integer value (i.e. 0 and up).
item_totalA non-negative integer value (i.e. 0 and up).
itemsAn array of associative arrays containing
 
idA positive integer value (i.e. 1 and up).
public_key_nameA single word, consisting of only letters, digits, and underscores.
public_key_valueA public ssh key, e.g. the contents of an id_rsa.pub or id_dsa.pub file.
page_numA positive integer value (i.e. 1 and up).
page_sizeA positive integer value (i.e. 1 and up).
page_totalA positive integer value (i.e. 1 and up).

Possible Errors:

Refer to the Error Handling documentation for the list of exception types