Questo contenuto non è disponibile nella lingua selezionata.
6.4. Update an Authorization
Update an existing authorization for the specified user account. However, currently this operation only supports updating the note
parameter of an existing authorization.
Method | URL Structure |
---|---|
PUT | /broker/rest/user/authorizations/:id |
Name | Description | Required | Default |
---|---|---|---|
note | Reminder description of authorization. | Yes |
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
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.