SearchEngine.delete (Method)

Deletes one or more search engine definitions and all accounts and SEO rankings history associated with this search engine.

Returns:

Void

Arguments:

Name Type Required Description
id SearchEngineID Required List of IDs of search engine definitions to delete.

Context:

License Requirements (none)
Permission Requirements site:SiteAdmin
Deny Context (none)
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

Code Error Message
81512 The specified search engine is a factory search engine and cannot be deleted.
81513 The specified search engine is deafult search ranking engine and cannot be deleted.
81514 The specified search engine has one or more search engine accounts and cannot be deleted.

Notes:

None