question

Chaitali avatar image
Chaitali asked Chaitali commented

curl request

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

rest api
1 |3000

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

1 Answer

Anirban avatar image
Anirban answered Chaitali commented

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 |3000

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 ·

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