import json
import requests


def groupRemove(apikey,groupid):
	"""
	Removes the group and moves all containers to group 0 (ungrouped)
	apikey: Your ApiKey from FileCrypt
	groupid: the group ID(!) you want to delete
	"""
	data={"api_key":apikey,"fn":"group","sub":"remove","id":str(groupid)}
	return json.loads(requests.post("https://filecrypt.cc/api.php",data=data).text)