Authorized apps API 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
| Scope | Description |
|---|---|
read | Grants read access |
write | Grants write access |
admin | Grants 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
| Code | Description | Schema |
|---|---|---|
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
| Code | Description | Schema |
|---|---|---|
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
application-id | path | string | Yes | Application ID |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
application-id | path | string | Yes | Application ID |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user-id | path | string | Yes | username of the user |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user-id | path | string | Yes | username of the user |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user-id | path | string | Yes | username of the user |
application-id | path | string | Yes | Application ID |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user-id | path | string | Yes | username of the user |
application-id | path | string | Yes | Application ID |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Item Deleted | |
401 | Unauthorized | |
403 | Resource Forbidden | |
404 | The specified resource was not found | Error |
500 | Internal Server Error | Error |
Schemas
Error
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | |
message | string | Yes | |
description | string | ||
traceId | string |
Was this page helpful?