List all rules

​

List all rulesets in a namespace.

OAuth scopes
  • platform:read

Path Parameters

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/v1/rulesets/{namespace}
curl https://access.scalar.com/v1/rulesets/acme \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[
  {
    "uid": "UakgbKJ5m9gl0JDMbcJqL",
    "title": "Acme API",
    "description": "API for managing Acme products and orders.",
    "slug": "acme-api",
    "namespace": "acme",
    "isPrivate": false
  }
]