All URIs are relative to https://api.merge.dev/api/hris/v1.
Method | HTTP request | Description |
---|---|---|
deleteAccountDelete() | POST /delete-account |
deleteAccountDelete($x_account_token)
Delete a linked account.
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
x_account_token | string | Token identifying the end user. |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]