REST API - how to limit number of rows returned

Hi,

I am trying to limit the number of rows returned using REST API search call. I tried “max” but it seems it is not working. Is there a way to limit number of rows in search query

I am using RT tool 4.4.0

search/ticket?query=‘CF.{Environment}’=‘XYZ’&orderby=-Created&max=5&format=s

Thanks in advance