src/Image.php
public function deleteStack($stackName, $organization = '')
    {
        $response = $this->call('DELETE', implode('/', [self::STACK_RESOURCE, $this->getOrganizationName($organization), $stackName]));

        return '204' == $response->getStatusCode();
    }
public function deleteStack($stackName, $organization = '')
    {
        $response = $this->call('DELETE', implode('/', [self::STACK_RESOURCE, $this->getOrganizationName($organization), $stackName]));

        return '204' == $response->getStatusCode();
    }
public function deleteStack ( $ stackName , $ organization = '' ) { $ response = $ this -> call ( 'DELETE' , implode ( '/' , [ self :: STACK_RESOURCE , $ this -> getOrganizationName ( $ organization ) , $ stackName ] ) ) ; return '204' == $ response -> getStatusCode ( ) ; }
Delete a stack.

@param string $stackName    Delete the stack
@param string $organization Optional organization name

@throws GuzzleException

@return bool True if successful
Delete a stack .