workspace
create a new protection rule
Changed onpost/w/{workspace}/workspaces/protection_rules
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/w/{workspace}/workspaces/protection_rules
- Auth: one of:
- HTTP bearer
- API key in cookie token
Path parameters
workspacestring required
Request body
Example request
{
"name": "Production Protection"
}Response
protection rule created successfully
Changes
- info
added the new
RestrictGuestAppDeploymentenum value to the request property/
- info
- info
added the new
RestrictPublicRunSharingenum value to the request property/
- info