it's working on verify access also.
even below syntax is also working fine.
Original Message:
Sent: Fri December 18, 2020 04:44 AM
From: Jon Harry
Subject: ISAM - How to update Mobile number with SCIM API.
Hi Mukesh,
Not 100% sure on Verify Access but on Verify, this syntax works to update a single mobile number:
{ "Operations": [ { "op":"replace", "path":"phoneNumbers[type eq \"mobile\"].value", "value": "0123456789" } ], "schemas": [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ]}
Jon.
------------------------------
Jon Harry
Consulting IT Security Specialist
IBM
Original Message:
Sent: Thu December 17, 2020 02:34 AM
From: Mukesh Bhati
Subject: ISAM - How to update Mobile number with SCIM API.
Hello All,
I'm trying to update the mobile number of user with the scim API.
as we have 4 types of mobile number (mobile, work, pager, home).
How to update the mobile number of type mobile??
I have tried with multiple paths to update the mobile number.
Example - 1: (Fail)
{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
"Operations":[{
"op": "replace",
"path": "urn:ietf:params:scim:schemas:core:2.0:User:phoneNumbers:mobile",
"value":"1234567890"
}]
}
Example - 2: (Fail)
{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
"Operations":[{
"op": "replace",
"path": "urn:ietf:params:scim:schemas:core:2.0:User:phoneNumbers[0]",
"value":"1234567890"
}]
}
Example - 3: (Fail)
{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
"Operations":[{
"op": "replace",
"path": "urn:ietf:params:scim:schemas:core:2.0:User:phoneNumbers[0]",
"value":{
"type": "mobile",
"value": "1234567890"
}
}]
}
Can anyone help me with the same?
------------------------------
Mukesh
------------------------------