Disable or enable Identity VIA API(Identity IQ 8.4)

Hello, is there a way to disable or enable a user the api.

Hi
Please try updating the identity object and modifying its inactive status
You need to set “inactive” to true or false

Hello @Chiru_1307

Yes Sailpoint Identity Rest API has that option. Try below code:-

URL:- /identityiq/rest/identities/{identityId}

PATCH

Request Body:-

{
  "attributes": {
    "enabled": false
  }
}

Pass "enabled": true to enable identity and "enabled": false to disable identity

1 Like

This is the Attribute need to modify → active where we can set it to true or false to enable or disable the identity, so API is http://localhost:8080/identityiq/scim/v2/Users/userId
Method Name: PUT
Json Body: {
“userName”: “Name of the User”,
“active” : true // To enable the Identity
}

3 Likes

To enable or disable an identity in SailPoint IdentityIQ 8.4 using the SCIM API, you need to update the active attribute of the user. This change directly affects the IdentityIQ internal attribute named inactive.

API Details:

Attribute Mapping:

  • Setting “active”: true in the API will:
    1. Enable the identity
    2. Automatically set the inactive attribute to false in IdentityIQ
  • Setting “active”: false in the API will:
    1. Disable the identity
    2. Automatically set the inactive attribute to true in IdentityIQ
3 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.