Trying to sort services by updated_at key

Trying to sort the list of services based on updated_at time but getting error as follow:

API documentation:

“error”: {
“message”: “Invalid Input Provided”,
“code”: 2001,
“errors”: [
“Sort by must be in name, name:asc, or name:desc.”

#same API works fine for name param

Can someone help me with this?

Adarsh Tiwari

The API only supports returning the results sorted by name and no other field. You’ll need to do that externally, for example in a CSV or spreadsheet.