이 콘텐츠는 선택한 언어로 제공되지 않습니다.
6.4. Update an Authorization
Description
Update an existing authorization for the specified user account. However, currently this operation only supports updating the note
parameter of an existing authorization.
Method and URL Structure
Method | URL Structure |
---|---|
PUT | /broker/rest/user/authorizations/:id |
Request Parameters
Name | Description | Required | Default |
---|---|---|---|
note | Reminder description of authorization. | Yes |
See Section A.2, “Authorizations” for more information about the valid options applicable to these request parameters.
cURL Command Example
curl -X PUT https://openshift.redhat.com/broker/rest/user/authorizations/52141fa2e499b2229e00009b --user user@example.com:password --data-urlencode note=This is a note to myself
$ curl -X PUT https://openshift.redhat.com/broker/rest/user/authorizations/52141fa2e499b2229e00009b --user user@example.com:password --data-urlencode note=This is a note to myself
JSON Response
The API returns the authorizations resource with related resource links which have been left out for brevity. See Chapter 6, Authorizations for more information on all authorization parameters.