---
title: "List authorized resources"
method: GET
path: "/api/auth/authorized_resources"
tags: ["UsersService"]
---

# List authorized resources

`GET /api/auth/authorized_resources`

List all orgnizations/deployments that are available to a user

## Response `200`

OK

- ProtosAuthV1ListUserAuthorizedResourcesResponse
  - `current` ProtosAuthV1DeploymentIdentity[]
    - `sourceId` integer
    - `name` string
    - `sourceType` 'simple' | 'semgrep' | 'sso' | 'github' | 'gitlab', enum — | value | description | |-------|---------------| | simple | | | semgrep | | | sso | | | github | | | gitlab | |
    - `deploymentId` integer
    - `scmName` string
  - `joinable` ProtosAuthV1DeploymentIdentity[]
    - `sourceId` integer
    - `name` string
    - `sourceType` 'simple' | 'semgrep' | 'sso' | 'github' | 'gitlab', enum — | value | description | |-------|---------------| | simple | | | semgrep | | | sso | | | github | | | gitlab | |
    - `deploymentId` integer
    - `scmName` string
  - `scm` ProtosAuthV1DeploymentIdentity[]
    - `sourceId` integer
    - `name` string
    - `sourceType` 'simple' | 'semgrep' | 'sso' | 'github' | 'gitlab', enum — | value | description | |-------|---------------| | simple | | | semgrep | | | sso | | | github | | | gitlab | |
    - `deploymentId` integer
    - `scmName` string

---

[API](https://skmtc.net/semgrep/apis/semgrep-web-app.md) · [All operations](https://skmtc.net/semgrep/apis/semgrep-web-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/semgrep/semgrep-web-app/versions/6483eeecd582/schema)
