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.

Method Declaration
Copy
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?