News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
SCIM API User add/replace Work Phone
Tags: rest api
Sep 18, 2020 at 4:11am   •   1 replies  •  1 likes
Gary Weissenbacher
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.

1 Answer
answered on Sep 18, 2020 at 7:17am  

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.


 2



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us