Security Rules
Create site security rule
Add a new security rule to the site.
Processing mode: <small><code>async</code></small>
post/orgs/{organization}/servers/{server}/sites/{site}/security-rules
Path parameters
organizationstring required
The organization slug
serverinteger required
The server ID
siteinteger required
The site ID
Request body
Example request
{
"name": "Restricted Access",
"path": "/admin",
"credentials": [
{
"username": "admin",
"password": "secret123"
}
]
}Response
SecurityRuleResource