Skip to main content
The First Step
November 19, 2020
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
    November 19, 2020

    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
    November 21, 2020

    Thank you.. got it