v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Sites

Lock a site so that no modifications can be made

This will lock a site so that no modifications can be made to it. WARNING: This locks new database entries and will prevent e-commerce orders, comments, posts, etc. This is intended to be used for static sites or sites with security issues that are being fixed.

post/v1/sites/{id}/lock

Path parameters

idinteger required

ID of the Site you are interacting with

Example:8880000888

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": [],
  "result": {
    "success": true
  }
}