Skip to main content
You're reading Identity & Access Management 7.0.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release

Authorized apps API V1

Download OpenAPI (YAML)Version v1

Base URL: https://localhost:9443/t/carbon.super/api/users/v1

The OAuth2 Authorized Apps API (version v1).

Download the OpenAPI definition (YAML)

Security schemes​

BasicAuth: HTTP basic

OAuth2: oauth2

authorizationCode flow, token URL https://localhost:9443/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize

3 scopes
ScopeDescription
readGrants read access
writeGrants write access
adminGrants read and write access to administrative information

me​

Operations for the authenticated user.

List authorized applications for the authenticated user​

GET /me/authorized-apps

Lists approved OAuth applications of the authenticated user
Permission required: None
Scope required: internal_login

Responses

CodeDescriptionSchema
200

search results matching criteria

array of AuthorizedApp
401

Unauthorized

403

Resource Forbidden

500

Internal Server Error

Error

Remove authorized applications for the authenticated user​

DEL /me/authorized-apps

Removes approved OAuth applications of the authenticated user
Permission required: None
Scope required: internal_login

Responses

CodeDescriptionSchema
204

Item Deleted

401

Unauthorized

403

Resource Forbidden

500

Internal Server Error

Error

Retrieve authorized app by app ID for the authenticated user​

GET /me/authorized-apps/{application-id}

Retrieves authorized OAuth app by an app ID for the authenticated user.
Permission required: None
Scope required: internal_login

Parameters

NameInTypeRequiredDescription
application-idpathstringYes

Application ID

Responses

CodeDescriptionSchema
200

search results matching criteria

AuthorizedApp
401

Unauthorized

403

Resource Forbidden

404

The specified resource was not found

Error
500

Internal Server Error

Error

Remove the authorized app by app ID for the authenticated user​

DEL /me/authorized-apps/{application-id}

Removes authorized OAuth app by an app ID for the authenticated user.
Permission required: None
Scope required: internal_login

Parameters

NameInTypeRequiredDescription
application-idpathstringYes

Application ID

Responses

CodeDescriptionSchema
204

Item Deleted

401

Unauthorized

403

Resource Forbidden

404

The specified resource was not found

Error
500

Internal Server Error

Error

admin​

Operations available for privileged users, to be invoked on behalf of another user.

List authorized applications of a user​

GET /{user-id}/authorized-apps

List approved OAuth applications for a given user.

Parameters

NameInTypeRequiredDescription
user-idpathstringYes

username of the user

Responses

CodeDescriptionSchema
200

Search results matching criteria

array of AuthorizedApp
401

Unauthorized

403

Resource Forbidden

500

Internal Server Error

Error

Remove all authorized applications of a user​

DEL /{user-id}/authorized-apps

Removes authorization from all OAuth apps of a given user

Parameters

NameInTypeRequiredDescription
user-idpathstringYes

username of the user

Responses

CodeDescriptionSchema
204

Item Deleted

401

Unauthorized

403

Resource Forbidden

500

Internal Server Error

Error

Retrieve authorized app by app ID for a user​

GET /{user-id}/authorized-apps/{application-id}

Retrieve authorized OAuth apps by an app ID for a given user

Parameters

NameInTypeRequiredDescription
user-idpathstringYes

username of the user

application-idpathstringYes

Application ID

Responses

CodeDescriptionSchema
200

search results matching criteria

AuthorizedApp
401

Unauthorized

403

Resource Forbidden

404

The specified resource was not found

Error
500

Internal Server Error

Error

Removes challenge question answers​

DEL /{user-id}/authorized-apps/{application-id}

Removes authorized OAuth apps by an app ID for a given user

Parameters

NameInTypeRequiredDescription
user-idpathstringYes

username of the user

application-idpathstringYes

Application ID

Responses

CodeDescriptionSchema
204

Item Deleted

401

Unauthorized

403

Resource Forbidden

404

The specified resource was not found

Error
500

Internal Server Error

Error

Schemas​

AuthorizedApp​

Type: object

2 properties
NameTypeRequiredDescription
appIdstringYes
clientIdstringYes

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestringYes
messagestringYes
descriptionstring
traceIdstring

Was this page helpful?