Inactive assets returned when the is_active=1 parameter to my Assets API call
search cancel

Inactive assets returned when the is_active=1 parameter to my Assets API call

book

Article ID: 282719

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

The is_active parameter is not an API parameter, but a field of the asset. 

Resolution

In order to return only active assets from a version=2 Assets API call, you must add the is_active field to the query: 

query=is_active=1