List rules

GET {{fastly_url}}/security/workspaces/{{workspace_id}}/rules?action&enabled&limit&page&types

List rules in a workspace.

Authorization: API token with at least Engineer permissions.

Request Params

KeyDatatypeRequiredDescription
actionnullReturn only the rules with the given action.
enablednullReturn either all enabled rules or all disabled rules.
limitnullLimit how many results are returned.
pagenullPage number of the collection to request.
typesnullReturn rules with any of the given action types. More than one value can be supplied.