Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

6.2. List Authorizations


Description

List all authorizations for the specified user account and provide the client with additional resource links to manage existing authorizations.

Method and URL Structure

Expand
Method URL Structure
GET /broker/rest/user/authorizations

Request Parameters

Not applicable

cURL Command Example

$ curl -X GET https://openshift.redhat.com/broker/rest/user/authorizations --user user@example.com:password" 
Copy to Clipboard Toggle word wrap

JSON Response

The API returns the authorizations resource with related resource links which have been left out for brevity. No resource links are returned if the user account does not contain any authorizations. See Chapter 6, Authorizations for more information on all authorization parameters.

{
    "api_version": 1.6,
    "data": [
        {
            "created_at": "2013-08-22T02:30:47Z",
            "expires_in": 86400,
            "expires_in_seconds": 6870,
            "id": "521577d703ef64a3120000de",
            "identity": "user@example.com",
            "note": "OpenShift Console (from 66.187.239.10 on Firefox)",
            "scopes": "session",
            "token": "187bd89d1f5172af567eb12631c45gt7415dca5c2b7jy56970b3f3a911df4697"
        }
    ],
    "messages": [
        {
            "exit_code": 0,
            "field": null,
            "severity": "info",
            "text": "List authorizations"
        }
    ],
    "status": "ok",
    "supported_api_versions": [
	    1.0,
	    1.1,
	    1.2,
	    1.3,
	    1.4,
	    1.5,
	    1.6
	],
	"type": "authorizations",
	"version": "1.6"
}
Copy to Clipboard Toggle word wrap

Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat