DeleteShift
 Deletes a `Shift`.
 @param id UUID for the &#x60;Shift&#x60; being deleted.
 @param [Hash] opts the optional parameters
 @return [DeleteShiftResponse]
11527
def delete_shift(id, opts = {})
      data, _status_code, _headers = delete_shift_with_http_info(id, opts)
      return data
    end
295799
def delete(self, id):
        
        res = self._api_request('del', data={'i': id})[0]
        if res[0] == '-1':
            raise PuushError("File deletion failed.")
547895
def delete(self, space_id):
        

        try:
            self.space_id = space_id
            return super(SpacesProxy, self).delete(space_id)
        finally:
            self.space_id = None
535249
def delete(self, callback=None, errback=None):
        
        return self._rest.delete(self.data['id'], callback=callback, errback=errback)
1373689
public void deleteIfNoneMatch(URI uri, String eTag, String assertedUserId)
			throws IOException {
		deleteIfNoneMatch(uri, eTag, assertedUserId, null);
	}
720109
public static function deleteSource($id, $sourceId, $params = null, $opts = null)
    {
        return self::_deleteNestedResource($id, static::PATH_SOURCES, $sourceId, $params, $opts);
    }
49951
def DeleteRecords(cls, ids, token):
    
    with data_store.DB.GetMutationPool() as mutation_pool:
      mutation_pool.QueueDeleteRecords(ids)
723791
public void remove(String id) {
		final Lock writeLock = lock.writeLock();
		try {
			writeLock.lock();
			final int index = ids.indexOf(id);
			if (index > -1) {
				tasks.remove(index);
				patterns.remove(index);
				ids.remove(index);
				size--;
			}
		} finally {
			writeLock.unlock();
		}
	}
970952
def delete(cls, id):
        '''
        
        '''
        client = cls._new_api_client()
        return client.make_request(cls, 'delete', url_params={'id': id})
1159255
function _removeExtension($id, $path = null)
    {
        $extensions = &$this->_extensions($this->currentCert, $path);

        if (!is_array($extensions)) {
            return false;
        }

        $result = false;
        foreach ($extensions as $key => $value) {
            if ($value['extnId'] == $id) {
                unset($extensions[$key]);
                $result = true;
            }
        }

        $extensions = array_values($extensions);
        return $result;
    }
1204609
def stop(self, id):
        
        path = partial(_path, self.adapter)
        path = path(id)
        return self._delete(path)
693307
function(id) {
    // get embed keys as a separate array to enable deleting keys in map
    var ids = Object.keys(embeds);
    for(var i = 0; i < ids.length; ++i) {
      var next = ids[i];
      if(next in embeds && _isObject(embeds[next].parent) &&
        embeds[next].parent['@id'] === id) {
        delete embeds[next];
        removeDependents(next);
      }
    }
  }
865237
function removeUpdate(id) {
        var installationResult = _idsToUpdate[id];
        if (!installationResult) {
            return;
        }
        if (installationResult.localPath && !installationResult.keepFile) {
            FileSystem.getFileForPath(installationResult.localPath).unlink();
        }
        delete _idsToUpdate[id];
        exports.trigger("statusChange", id);
    }
861111
def remove_domain_from_fqdn(opts, newid):
    '''
    
    '''
    opt_domain = opts.get('minion_id_remove_domain')
    if opt_domain is True:
        if '.' in newid:
            # Remove any domain
            newid, xdomain = newid.split('.', 1)
            log.debug('Removed any domain (%s) from minion id.', xdomain)
    else:
        # Must be string type
        if newid.upper().endswith('.' + opt_domain.upper()):
            # Remove single domain
            newid = newid[:-len('.' + opt_domain)]
            log.debug('Removed single domain %s from minion id.', opt_domain)
    return newid
955992
def delete(self, callback=None, errback=None):
        
        return self._rest.delete(self.id, callback=callback, errback=errback)
101940
def remove_sid2uid(self, sid, uid):
        
        self.remove('uid2sid', uid, sid)
        self.remove('sid2uid', sid, uid)
1232394
def delete_key(self, key_id):
        
        key = self.key(key_id)
        if key:
            return key.delete()
        return False