Question

curl request

  • 19 November 2020
  • 2 replies
  • 554 views

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


2 replies

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

Thank you.. got it

Reply