Skip to content

Latest commit

 

History

History
69 lines (45 loc) · 1.85 KB

DeleteAccountApi.md

File metadata and controls

69 lines (45 loc) · 1.85 KB

MergeHRISClient\DeleteAccountApi

All URIs are relative to https://api.merge.dev/api/hris/v1.

Method HTTP request Description
deleteAccountDelete() POST /delete-account

deleteAccountDelete()

deleteAccountDelete($x_account_token)

Delete a linked account.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure API key authorization: tokenAuth
$config = MergeHRISClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MergeHRISClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MergeHRISClient\Api\DeleteAccountApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$x_account_token = 'x_account_token_example'; // string | Token identifying the end user.

try {
    $apiInstance->deleteAccountDelete($x_account_token);
} catch (Exception $e) {
    echo 'Exception when calling DeleteAccountApi->deleteAccountDelete: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
x_account_token string Token identifying the end user.

Return type

void (empty response body)

Authorization

tokenAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]