public function deleteLabel(int $labelId): bool
    {
        if ( ! $this->validateId($labelId)) {
            return false;
        }

        $result = $this->delete('labels/' . $labelId);

        return 204 === $result->getStatusCode();
    }
public function deleteLabel(int $labelId): bool
    {
        if ( ! $this->validateId($labelId)) {
            return false;
        }

        $result = $this->delete('labels/' . $labelId);

        return 204 === $result->getStatusCode();
    }
public function deleteLabel ( int $ labelId ) : bool { if ( ! $ this -> validateId ( $ labelId ) ) { return false ; } $ result = $ this -> delete ( 'labels/' . $ labelId ) ; return 204 === $ result -> getStatusCode ( ) ; }
Delete a label.

@param int $labelId ID of the label.

@return bool True on success, false on failure.
Delete a label .