Function delete_api_key
Source pub async fn delete_api_key(
base_url: &str,
api_key: &str,
hash: &str,
) -> Result<bool, OpenRouterError>
Expand description
Deletes an API key. Requires a Provisioning API key.
§Arguments
base_url
- The base URL of the OpenRouter API.
api_key
- The API key for authentication.
hash
- The hash of the API key to delete.
§Returns
Result<bool, OpenRouterError>
- A boolean indicating whether the deletion was successful.