Skip to main content

Does anyone have a payload to unassign an asset from a user, along with setting the verification date? I’m able to pull information from the API for a device but am having trouble updating fields on said asset.

@iljared98 For most API requests, if you contact our support team, they will be the best to tackle these kind of inquiries. 

Unless ​@jclark you have any ideas for them in the mean time. 😄


To unassign the asset you can POST to:

https://{site}.incidentiq.com/api/v1.0/assets/{AssetId}/owner

Payload:

{"OwnerId":null}

 

We don’t use verifications currently so I haven’t messed with that API myself.


To unassign the asset you can POST to:

https://{site}.incidentiq.com/api/v1.0/assets/{AssetId}/owner

Payload:

{"OwnerId":null}

 

We don’t use verifications currently so I haven’t messed with that API myself.

Fantastic, this is exactly what I was looking for. Thank you. I’ll do some more probing around for the other asset fields.


One idea is just to have an API change the status of an asset and then have a rule that fires on that change doing everything else for you. Maybe not as clean as going purely through the API but a work around for those (like me) who feel like they’re still figuring out the APIs


Reply