workspace
create a new protection rule
post/w/{workspace}/workspaces/protection_rules
Path parameters
workspacestring required
Request body
Example request
{
"name": "Production Protection"
}Response
protection rule created successfully
{
"name": "Production Protection"
}protection rule created successfully