Snyk/self
@webframp/snyk/selfv2026.07.19.1
01README
Snyk Self — current user context, org listing, and app management
02Release Notes
2026.07.19.1
Added: Initial code-generated release of @webframp/snyk/self with 10 methods covering the Snyk self API surface.
03Models
@webframp/snyk/selfv2026.07.19.1snyk/self.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| apiToken | string | Snyk API token |
| version | string | Snyk API version date |
fn get_self()
My User Details
fn get_access_requests(org_id?: string)
Get access requests (Early Access)
| Argument | Type | Description |
|---|---|---|
| org_id? | string | The IDs of the org to filter by |
fn get_user_installed_apps()
Get a list of Snyk Apps that can act on your behalf
fn get_app_installs_for_user(expand?: string)
Get a list of Snyk Apps installed for a user
| Argument | Type | Description |
|---|---|---|
| expand? | string | Expand relationships. |
fn delete_user_app_install_by_id(install_id: string)
Revoke a Snyk App by install ID
| Argument | Type | Description |
|---|---|---|
| install_id | string | Install ID |
fn delete_revoke_user_installed_app(app_id: string)
Revoke a Snyk App by app ID
| Argument | Type | Description |
|---|---|---|
| app_id | string | App ID |
fn get_user_app_sessions(app_id: string)
Get a list of active OAuth sessions by app ID
| Argument | Type | Description |
|---|---|---|
| app_id | string | App ID |
fn delete_revoke_user_app_session(app_id: string, session_id: string)
Revoke the Snyk App session of an active user
| Argument | Type | Description |
|---|---|---|
| app_id | string | App ID |
| session_id | string | Session ID |
fn list_personal_access_token()
List personal access tokens
fn delete_personal_access_token(personal_access_token_id: string)
Deletes a personal access token
| Argument | Type | Description |
|---|---|---|
| personal_access_token_id | string | The personal access token id |
Resources
self(infinite)— My User Details
get_access_requests(infinite)— Get access requests (Early Access)
get_user_installed_apps(infinite)— Get a list of Snyk Apps that can act on your behalf
get_app_installs_for_user(infinite)— Get a list of Snyk Apps installed for a user
get_user_app_sessions(infinite)— Get a list of active OAuth sessions by app ID
personal_access_token(infinite)— List personal access tokens
04Stats
A
100 / 100
Downloads
0
Archive size
8.1 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels