Update a serve static rule
PATCH /api/v2/organizations/{organization}/projects/{project}/rules/serve-static/{rule}
PATCH
/api/v2/organizations/{organization}/projects/{project}/rules/serve-static/{rule}
Authorizations
Parameters
Path Parameters
organization
required
string
Organization identifier
project
required
string
Project identifier
rule
required
string
Rule identifier
Request Body required
object
static_file_path
required
Path to the static file to serve
string
/index.htmlResponses
200
The request has succeeded.
object
action_config
required
object
static_file_path
Path to the static file to serve
string
/index.html400
The server could not understand the request due to invalid syntax.
object
message
required
Error message
string
The requested resource was not found error
required
Error flag
boolean
true403
Access is forbidden.
object
message
required
Error message
string
The requested resource was not found error
required
Error flag
boolean
true