src/PlatformClient.php
public function addSshKey($value, $title = null)
    {
        $values = $this->cleanRequest(['value' => $value, 'title' => $title]);
        $url = $this->accountsEndpoint . 'ssh_keys';

        return SshKey::create($values, $url, $this->connector->getClient());
    }
public function addSshKey($value, $title = null)
    {
        $values = $this->cleanRequest(['value' => $value, 'title' => $title]);
        $url = $this->accountsEndpoint . 'ssh_keys';

        return SshKey::create($values, $url, $this->connector->getClient());
    }
public function addSshKey ( $ value , $ title = null ) { $ values = $ this -> cleanRequest ( [ 'value' => $ value , 'title' => $ title ] ) ; $ url = $ this -> accountsEndpoint . 'ssh_keys' ; return SshKey :: create ( $ values , $ url , $ this -> connector -> getClient ( ) ) ; }
Add an SSH public key to the logged-in user's account.

@param string $value The SSH key value.
@param string $title A title for the key (optional).

@return Result
Add an SSH public key to the logged - in user s account .