Question

SCIM Create User "License limit has been reached" in Sandbox

  • 22 September 2020
  • 5 replies
  • 1116 views

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"
}



5 replies

Userlevel 1

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.

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

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.

Userlevel 1

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.

Userlevel 1

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.

Reply