Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Remove an API key by ID.
func (s *ApiKeysSvcImpl) Remove(apiKeyId string) (bool, error) func (s *ApiKeysSvcImpl) RemoveWithContext(ctx context.Context, apiKeyId string) (bool, error)
true
client := resend.NewClient("re_123456789") deleted, err := client.ApiKeys.Remove("key_abc123") if err != nil { panic(err) } if deleted { fmt.Println("API key deleted successfully") }