question

Gary Weissenbacher avatar image
Gary Weissenbacher asked ·

SCIM API User add/replace Work Phone

curl --request PATCH \
  --url https://platform.devtest.ringcentral.com/scim/v2/Users/283100004 \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --data '{"schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"],"Operations":[{"op":"replace","path":"phoneNumbers[type eq \"work\"].value","value":"+4989700755555"}]}'
{  "schemas": [    "urn:ietf:params:scim:api:messages:2.0:Error"  ],  "status": "403",  "detail": "The operation(add) for path(phoneNumbers[type eq \"work\"].value) is not permitted" } 

Okay, hopefully my last question: have created a User using the SCIM API without stating a work phone, so the user only hast a phone number of type "other" and later added "mobile".
Now I want to add the work phone, but the API does not allow it.
Is that possible somehow?

We are thinking about migration scenarios, adding the user first without his real phone number and when the carrier is ready switching to RingCentral by adding the phone number to the user.

scimwork phonenumber
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
Phong Vu avatar image
Phong Vu answered ·

You cannot set the "work" number, which is read-only, since RC, as a VoIP provider, provides such a number, The work number is assigned automatically (from a digital line number of an unassigned extension) when you create a SCIM user. You can replace other numbers though.

Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.