Updates Oauth token for the user
PUT {{baseUrl}}/users/:userId/oauth2ClientCredentials/:oauth2ClientCredentialId
Updates Oauth token for the user
Request Body
{"description"=>"fugiat dolor", "scopes"=>[{"audience"=>"quis dolore exe", "scope"=>"ut"}, {"audience"=>"in qui", "scope"=>"labore aliqua veniam et"}], "isResetPassword"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match | |
parameter to the value of the etag from a previous GET or POST response for that resource. The resource | |||
will be updated or deleted only if the etag you provide matches the resource's current etag value. | |||
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"compartmentId":"veniam","description":"reprehenderit proident","expiresOn":"2005-01-28T04:39:13.596Z","id":"qui","lifecycleState":"DELETING","name":"nulla dolore ea Duis","password":"nulla adipisicing eu ex aliquip","scopes":[{"audience":"dolore Lorem aute sed","scope":"consequat in"},{"audience":"ex","scope":"ex Duis tempor"}],"timeCreated":"1949-06-22T17:27:15.256Z","userId":"commodo nisi"}