def disassociate_api_key_stagekeys(apiKey, stagekeyslist, region=None, key=None, keyid=None, profile=None):
 try:
  conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
  pvlist = [('/stages', stagekey) for stagekey in stagekeyslist]
  response = _api_key_patch_remove(conn, apiKey, pvlist)
  return {'disassociated': True}
 except ClientError as e:
  return {'disassociated': False, 'error': salt.utils.boto3.get_error(e)}

def disassociate_api_key_stagekeys ( apiKey , stagekeyslist , region = None , key = None , keyid = None , profile = None ) : try : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) pvlist = [ ( '/stages' , stagekey ) for stagekey in stagekeyslist ] response = _api_key_patch_remove ( conn , apiKey , pvlist ) return { 'disassociated' : True } except ClientError as e : return { 'disassociated' : False , 'error' : salt . utils . boto3 . get_error ( e ) }
disassociate the given stagekeyslist to the given apikey .