Skip to main content
The First Step
Nov 19, 2020 10:44 AM UTC
Question

curl request

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

    2 replies

    The First Step
    Nov 19, 2020 12:09 PM UTC

    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

    The First Step
    Nov 21, 2020 5:46 PM UTC

    Thank you.. got it