Delete robots.txt

DEL

Remove specific rules for a user-agent in your robots.txt file. To delete all rules for a user-agent, provide an empty rule set. This will remove the user-agent’s entry entirely, leaving it subject to your site’s default crawling behavior.

Note: Deleting a user-agent with no rules will make the user-agent’s access unrestricted unless other directives apply.

Required scope: site_config:write

Path parameters

site_idstringRequired

Unique identifier for a Site

Request

This endpoint expects an object.
ruleslist of objectsOptional

List of rules for user agents.

sitemapstringOptional

URL to the sitemap.

Response

Request was successful

ruleslist of objectsOptional

List of rules for user agents.

sitemapstringOptional

URL to the sitemap.

Errors