code: def delete_api_key(apiKey, region=None, key=None, keyid=None, profile=None):
      '''
      Deletes a given apiKey
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_apigateway.delete_api_key apikeystring
  
      '''
      try:
          conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
          conn.delete_api_key(apiKey=apiKey)
          return {'deleted': True}
      except ClientError as e:
          return {'deleted': False, 'error': __utils__['boto3.get_error'](e)f delete_api_key(apiKey, region=None, key=None, keyid=None, profile=None):
      '''
      Deletes a given apiKey
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_apigateway.delete_api_key apikeystring
  
      '''
      try:
          conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
          conn.delete_api_key(apiKey=apiKey)
          return {'deleted': True}
      except ClientError as e:
          return {'deleted': False, 'error': __utils__['boto3.get_error'](e)}
docs: Deletes a given apiKey
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_apigateway.delete_api_key apikeystring