Patch OAuth Client
PATCH {{baseUrl}}/oauth-clients/:id
This performs a targeted update to the field(s) of an OAuth client.
Request Body
{"0"=>{"op"=>"replace", "path"=>"/strongAuthSupported", "value"=>true}, "1"=>{"op"=>"replace", "path"=>"/businessName", "value"=>"acme-solar"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"2c9180835d2e5168015d32f890ca1581","businessName":"Acme-Solar","homepageUrl":"http://localhost:12345","name":"Demo API Client","description":"An API client used for the authorization_code, refresh_token, and client_credentials flows","accessTokenValiditySeconds":750,"refreshTokenValiditySeconds":86400,"redirectUris":["http://localhost:12345"],"grantTypes":["AUTHORIZATION_CODE","CLIENT_CREDENTIALS","REFRESH_TOKEN"],"accessType":"OFFLINE","type":"CONFIDENTIAL","internal":false,"enabled":true,"strongAuthSupported":false,"claimsSupported":false,"created":"2017-07-11T18:45:37.098Z","modified":"2018-06-25T20:22:28.104Z","scope":["demo:api-client-scope:first","demo:api-client-scope:second"],"secret":"n","metadata":"dolore","lastUsed":"2017-07-11T18:45:37.098Z"}