rules

Create a new rule for the namespace

post/rulesets/{namespace}

Request

  • Base URL
    https://api.scalar.com/core
  • URL
    https://api.scalar.com/core/rulesets/{namespace}
  • Auth
    HTTP bearer

Path parameters

namespacestring required

Request body

titlestring required
descriptionstring
slugstring required
isPrivateboolean
blockPublishOn'error' | 'warning' | 'info' | 'hint' | 'none'
documentstring

Response

Default Response

uidstring required

Changes