Sha256: 91cd335283d46cf7bd471d8465b3cc732875cf7388b5bfe1731f895130fdf5d4

Contents?: true

Size: 768 Bytes

Versions: 1

Compression:

Stored size: 768 Bytes

Contents

<?php

require_once __DIR__ . "/vendor/autoload.php";

$config = HelloSignSDK\Configuration::getDefaultConfiguration();

// Configure HTTP basic authorization: api_key
$config->setUsername("YOUR_API_KEY");

// or, configure Bearer (JWT) authorization: oauth2
// $config->setAccessToken("YOUR_ACCESS_TOKEN");

$api = new HelloSignSDK\Api\TeamApi($config);

$data = new HelloSignSDK\Model\TeamRemoveMemberRequest();
$data->setEmailAddress("teammate@hellosign.com")
    ->setNewOwnerEmailAddress("new_teammate@hellosign.com");

try {
    $result = $api->teamRemoveMember($data);
    print_r($result);
} catch (HelloSignSDK\ApiException $e) {
    $error = $e->getResponseObject();
    echo "Exception when calling HelloSign API: "
        . print_r($error->getError());
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hellosign-ruby-sdk-6.0.0.pre.beta oas/examples/TeamRemoveMember.php