docstr: Delete a user's api key.
  
  Returns:
      Boolean indicating success
  
  Raises:
      ValueError if the api_key couldn't be found
docstr_tok: ["Delete","a","user","'s","api","key",".","Returns",":","Boolean","indicating","success","Raises",":","ValueError","if","the","api_key","could","n't","be","found"]
code: def delete_api_key(self, api_key):
      """Delete a user's api key.
  
      Returns:
          Boolean indicating success
  
      Raises:
          ValueError if the api_key couldn't be found
      """
      idx = self.api_keys.index(api_key)
      try:
          self._client.execute(
              self.DELETE_API_KEY_MUTATION,
              {
                  "id": self._attrs["apiKeys"]["edges"][idx]["node"][
                      "id"
                  ]
              },
          )
      except requests.exceptions.HTTPError:
          return False
      return True
  
file_path: wandb/wandb/apis/public/users.py
imports: import requests
  from wandb_gql import gql
  import wandb
  from wandb.apis.attrs import Attrs
label_desc: Use image node_id 6 for calling the User obj's underlying member method code with example usage: obj.delete_api_key(api_key) and returns: True, False