Get rules

This API returns an array of rules.

The query parameters are optional. However, if you set one, then you must set the other, too.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Rule type: device or user.

string

DSN or user uuid.

string

Valid OEM ID.
Mandatory for Ayla admin users.
Optional for OEM users, if provided, the value should always be their OEM ID.

string

Valid value is 'subscription' or 'SUBSCRIPTION'.

boolean

Possible values are as follows:
true - Only internal rules will be available in the response.
false - Only non-internal rules will be available in the response.
When not specified - all rules will be available in the response.

boolean

true or 1 means results will be paginated.

int32

Maximum number of records per page.

int32

API result page number that you want to display.

string

Ascending (asc) or descending (desc).

Responses

401

Unauthorized

403

Forbidden

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json