delete() public method

Delete an existing form.
See also: http://developers.hubspot.com/docs/methods/forms/v2/delete_form
public delete ( string $form_guid ) : Response
$form_guid string
return SevenShores\Hubspot\Http\Response
Example #1
0
 /** @test */
 public function delete()
 {
     $form = $this->createForm();
     $reponse = $this->forms->delete($form->guid);
     $this->assertEquals(204, $reponse->getStatusCode());
 }