此内容没有您所选择的语言版本。
6.5. Delete an Authorization
Description
Delete the specified authorization.
Method and URL Structure
| Method | URL Structure |
|---|---|
DELETE | /broker/rest/user/authorizations/:id |
Request Parameters
Not applicable
cURL Command Example
$ curl -X DELETE https://openshift.redhat.com/broker/rest/user/authorizations/52141fa2e499b2229e00009b --user user@example.com:password
JSON Response
The API returns confirmation of a successful DELETE operation.
{
"api_version": 1.6,
"data": null,
"messages": [
{
"exit_code": 0,
"field": null,
"severity": "info",
"text": "Authorization 52141fa2e499b2229e00009b is revoked."
}
],
"status": "ok",
"supported_api_versions": [
1.0,
1.1,
1.2,
1.3,
1.4,
1.5,
1.6
],
"type": null,
"version": "1.6"
}