File tree Expand file tree Collapse file tree
source/includes/customers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,3 +206,21 @@ website | A website for the client <small>string</small>
206206phone | A phone number for the client <small >string</small >
207207description | A description for the client <small >string</small >
208208parent_id | The parent of the client <small >string</small >
209+
210+ ## Delete a client
211+
212+ <%= shell_example('/clients/<ID >', command: 'DELETE') %>
213+
214+ > Status: 204 No Content
215+
216+ This endpoint allows you to delete a client.
217+
218+ ### HTTP Request
219+
220+ ` DELETE <%= api_url('/clients/<ID>') %> `
221+
222+ ### URL Parameters
223+
224+ Parameter | Description
225+ --------- | -----------
226+ ID | The ID of the client to delete
Original file line number Diff line number Diff line change @@ -137,3 +137,22 @@ phone_number_1 | The first phone number for the contact <small>string</small>
137137phone_number_2 | A second phone number for the contact <small >string</small >
138138description | A description for the contact <small >string</small >
139139primary | If this is the primary contact for the client (true/false) <small >boolean</small >
140+
141+ ## Delete a contact
142+
143+ <%= shell_example('/clients/<CLIENT_ID>contacts/<ID >', command: 'DELETE') %>
144+
145+ > Status: 204 No Content
146+
147+ This endpoint allows you to delete a contact.
148+
149+ ### HTTP Request
150+
151+ ` DELETE <%= api_url('/clients/<CLIENT_ID>contacts/<ID>') %> `
152+
153+ ### URL Parameters
154+
155+ Parameter | Description
156+ --------- | -----------
157+ CLIENT_ID | The ID of the client
158+ ID | The ID of the contact to delete
You can’t perform that action at this time.
0 commit comments