IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Preventing Confirmation Emails When Adding/Removing Users via IBM Security Verify API

    Posted Wed March 12, 2025 04:10 PM

    Hi team,

    I'm working on IBM Security Verify, using IBM's APIs to add/remove users within groups. When I use the API to add or remove a user from a group, the end user automatically receives a confirmation email. My goal is to prevent this from happening.

    For completeness, here is the API call I am using:

    https://{tenant}/v2.0/Groups/{groupID}

    Body:
    {
      "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:PatchOp"
      ],
      "Operations": [
        {
          "op": "add",
          "path": "members",
          "value": [ { "type": "user", "value": "userID" } ] 
        }
      ]
    }

    However, if I perform this operation through the administration console, I can ensure that the user does not receive any confirmation email.

    Can you please help me achieve the same behavior via API?
    Thanks for your support!



    ------------------------------
    Carmine Salvatore
    ------------------------------


  • 2.  RE: Preventing Confirmation Emails When Adding/Removing Users via IBM Security Verify API

    Posted Wed March 12, 2025 04:36 PM

    Hello Carmine,


    The following is the API documentation:

    https://docs.verify.ibm.com/verify/reference/patchgroup

    The following is an excerpt from that documentation:
    ---

    The following example is a patch request to replace the group's displayName, remove a member, and add new members. Notice also that the example shows how you can specify the notifyType if you want to.

    NotifyType is an optional attribute that denotes the notification type. If not present, the EMAIL notification is used.Specify NONE if no notification to affected users is required.

    { "schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"],"Operations": [ { "op": "replace", "path": "displayName", "value": "New Group Name" }, { "op": "remove", "path": "members[value eq "50JFP28VS4"]" }, { "op": "add", "path": "members", "value": [ { "type": "user", "value": "50RJ493GRW" }, { "type": "user", "value": "50G6E672MU" } ] }, { "op": "add", "path": "urn:ietf:params:scim:schemas:extension:ibm:2.0:Notification:notifyType", "value": "EMAIL" } ]}


    ---

    So you need to add the 'notifyType' attribute and set the value to 'NONE' to prevent the email from being sent when you update the group.



    ------------------------------
    JACK YARBOROUGH
    ------------------------------



  • 3.  RE: Preventing Confirmation Emails When Adding/Removing Users via IBM Security Verify API

    Posted Thu March 13, 2025 04:54 AM

    Hi Jack,

    Now it works. Thanks a lot!



    ------------------------------
    Carmine Salvatore
    ------------------------------