List authorized apps
List the apps and agents you connected to Snapvisor through OAuth, with the permission tiers each holds and when it was last used. Use it when the user asks which agents can reach their account.
List the apps and agents you connected to Snapvisor through OAuth, with the permission tiers each holds and when it was last used. Use it when the user asks which agents can reach their account.
Authenticate as a user with a personal access token.
Send it as a bearer token in the Authorization header:
Authorization: Bearer <personal-access-token>Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/me/authorized-apps"[ { "id": "string", "clientName": "string", "tiers": [ "read" ], "scopes": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "lastUsedAt": "2019-08-24T14:15:22Z" }]Rotate an API key POST
Replace an API key's secret: the old secret stops working at once; the name, tiers and accounts stay. The new secret is returned once. Asks for confirmation once (confirmToken). Use it when a secret may have leaked.
Disconnect an authorized app DELETE
Disconnect an app or agent you authorized through OAuth; it loses access until it is connected again. Asks for confirmation once (confirmToken). Use it when the user no longer uses that agent.