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 |1000 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 Sen Chowdhary avatar image
Anirban Sen Chowdhary 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 Share
1 |1000 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.