src/User.php
public function delete($authyId, $ip = null): Response
    {
        // Prepare required variables
        $url = $this->api."users/{$authyId}/delete";
        $params = $this->params + ['form_params' => ['ip' => $ip]];

        // Delete Authy user, and return response
        return new Response($this->http->post($url, $params));
    }
public function delete($authyId, $ip = null): Response
    {
        // Prepare required variables
        $url = $this->api."users/{$authyId}/delete";
        $params = $this->params + ['form_params' => ['ip' => $ip]];

        // Delete Authy user, and return response
        return new Response($this->http->post($url, $params));
    }
public function delete ( $ authyId , $ ip = null ) : Response { // Prepare required variables $ url = $ this -> api . "users/{$authyId}/delete" ; $ params = $ this -> params + [ 'form_params' => [ 'ip' => $ ip ] ] ; // Delete Authy user, and return response return new Response ( $ this -> http -> post ( $ url , $ params ) ) ; }
Delete the given Authy user.

@param int         $authyId
@param string|null $ip

@return \Rinvex\Authy\Response
Delete the given Authy user .