question

Chaitali avatar image
Chaitali asked ·

curl request

Can some one help me to find curl request for update user Api? What will be the correct curl format?

curl
1 |1500 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
Anirban avatar image
Anirban answered ·

Are you looking for this API: https://platform.devtest.ringcentral.com/scim/v2/Users/id ?

The curl format will be something like this:

curl --request PUT \  --url https://platform.devtest.ringcentral.com/scim/v2/Users/123456 \  --header 'accept: application/json' \  --header 'authorization: Bearer <your access_token>' \  --header 'content-type: application/json' \  --data '{"active":false,"name":{"familyName":"Test","givenName":"User"},"emails":[{"type":"work","value":"john.doe@example.com"}],"userName":"john.doe@example.com","schemas":["urn:ietf:params:scim:schemas:core:2.0:User"]}' 

The above is the example format. You need put you required value

1 comment
1 |1500 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.

Thank you.. got it

0 Likes 0 ·

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.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys