PUT

Update Robots Txt


Updates the robots.txt file entity.

The content can be set to an empty string to create a blank file.

To restore Wix's default content, set the default field to true and omit the content field.

Endpoint
PUT
https://www.wixapis.com/promote-seo-robots-server/v2/robots

Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?