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 Create User "License limit has been reached" in Sandbox
Tags: developer sandbox
Sep 22, 2020 at 5:56am   •   2 replies  •  0 likes
Gary Weissenbacher

I tried to create a user using the SCIM v2 API. While I have only one user in my sandbox account and the "create extension" API works fine, creating the user with SCIM causes the error message, that license limit has been reached.

Are different licenses needed for SCIM usage? How can I test user creation with SCIM in the sandbox environment?

curl --request POST \
  --url https://platform.devtest.ringcentral.com/scim/v2/Users \
  --header 'accept: application/json' \
  --header 'authorization: Bearer U0pDMTFQMDFQQVMwMHxBQURRU2hmajRvbG8yb3U2UzZ3SW1FVEhncFlieHJRRjg0TTNGdDdJTlhUZ3FhNUVPMmQzTkk1VEEzZ0VDenJyeHpfRUZZbF9DemlIdFF2SlZIWkJCU29oOTNRZDlVTmtDRmc4YVZ6NzlJOHR5Q1pWNlU1RUp3OXZ2ZU9oTFVHUWwtTWluY1kwLUlFLUN0WUNrYnlCSHR5bVpRcjE1eHo4a21VU3RNOUdQTHBHQTQwaHJuSE9xdnNqbDFtQnpISlR5UXw0ZVh3VWd8b1BHNjFwc29MWTctWm1MdEpUUGdZd3xBUQ' \
  --header 'content-type: application/json' \
  --data '{"active":false,"name":{"familyName":"Allen","givenName":"Barry"},"emails":[{"type":"work","value":"barry.allen@acme.com"}],"externalId":"A98765","schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],"userName":"barry.allen@acme.com"}'
{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:Error"
  ],
  "status": "403",
  "detail": "License limit has been reached"
}


2 Answers
answered on Sep 22, 2020 at 7:21am  

You need to have an unassigned extension with a digital line available before you can create a user using the SCIM create user API.

So, login your web service, create a user with phone device and select e.g. the RingCentral soft phone. Then run your app again.


 0
on Sep 22, 2020 at 7:32am   •  0 likes

Ah okay, thanks again for the quick answer. I will try that.

answered on Sep 23, 2020 at 2:44am  

Is it possible to create an extension with Device using the Extensions API?

https://platform.devtest.ringcentral.com/restapi/v1.0/account/accountId/extension 

I created an extension in status unassigned, but without device I cannot use it with SCIM. And there is no endpoint to create devices.
I know you suggested the web service GUI to create an extension with device, but this is not the goal I try to achieve.


 0
on Sep 24, 2020 at 11:05am   •  0 likes

If you are a RingCentral customer, please submit a support ticket so the developer support team can help you with access to internal API to build your app.

on Sep 23, 2020 at 5:17pm   •  0 likes

I am afraid it is not possible because there is no API to pull the list of devices and it has the price tags on each type of device.



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