IIQ API for disabling/enabling Active Directory Account

Can some one provide me a sample IIQ REST API for disabling/enabling Active Directory Account?

I don’t believe there is anything built in for that. Generally there are two ways you’re going to do it: Either directly interact with AD directly via java’s JDNI API, or create a provisioning plan. Either way will require you to create a workflow for the SCIM API to be able to interact with

1.) GET https://URL/identityiq/scim/v2/Accounts/0a7836797c801007817c81dee4881d09

2.) copy response body

3.) paste whole response body to request body raw

4.) change “active”: true, → “active”: false, (vice versa)

5.) PUT https://URL/identityiq/scim/v2/Accounts/0a7836797c801007817c81dee4881d09
with full request body

6.) done