DELETE makes a DELETE request
(endpoint string, body []byte, queryParams map[string]string)
| 144 | |
| 145 | // DELETE makes a DELETE request |
| 146 | func (c *APIClient) DELETE(endpoint string, body []byte, queryParams map[string]string) (*APIResponse, error) { |
| 147 | return c.Request("DELETE", endpoint, body, queryParams) |
| 148 | } |
| 149 | |
| 150 | // PATCH makes a PATCH request |
| 151 | func (c *APIClient) PATCH(endpoint string, body []byte, queryParams map[string]string) (*APIResponse, error) { |