Skip to content

Commit

Permalink
Add deleteClientEmailAddress method (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwcobb authored Nov 29, 2021
1 parent 4956435 commit b6f09f3
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 4.2.8 (November 29, 2021)
- Add new `deleteClientEmailAddress()` method.

## 4.2.7 (September 20, 2021)
- Add new `updateOrder()` method.

Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Client
*
* @const string
*/
const VERSION = '4.2.7';
const VERSION = '4.2.8';

/**
* Guzzle service description
Expand Down
29 changes: 29 additions & 0 deletions src/Resources/v9/clients.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,35 @@
],


/**
* Clients / Email Addresses / Delete
*/
'deleteClientEmailAddress' => [
'extends' => null,
'httpMethod' => 'DELETE',
'uri' => '/v9/clients/{client_id}/email_addresses/{email_address_id}',
'summary' => 'Delete a client Email Address.',
'notes' => '',
'documentationUrl' => 'https://ticketevolution.atlassian.net/wiki/spaces/API/pages/27394202/Clients+Email+Addresses+Delete',
'deprecated' => false,
'responseModel' => 'defaultJsonResponse',
'parameters' => [
'client_id' => [
'location' => 'uri',
'type' => 'integer',
'description' => 'ID of the Client.',
'required' => true,
],
'email_address_id' => [
'location' => 'uri',
'type' => 'integer',
'description' => 'ID of the Email Address.',
'required' => true,
],
],
],


/**
* Clients / Addresses / Index
*/
Expand Down

0 comments on commit b6f09f3

Please sign in to comment.