---
title: "List all organizations of the specified source configuration management (SCM) such as Github."
method: GET
path: "/kapis/devops.kubesphere.io/v1alpha2/scms/{scm}/organizations"
tags: ["DevOps Scm"]
deprecated: true
---

# List all organizations of the specified source configuration management (SCM) such as Github.

`GET /kapis/devops.kubesphere.io/v1alpha2/scms/{scm}/organizations`

> **Deprecated.**

## Path parameters

- `scm` string, required

## Query parameters

- `credentialId` string, credentialId=%s, required

## Response `200`

ok

- DevopsSCMOrg[]
  - `_class` string — It’s a fully qualified name and is an identifier of the producer of this resource's capability.
  - `_links` Links
    - `actions` Actions
      - `_class` string
      - `href` string
    - `branches` Branches
      - `_class` string
      - `href` string
    - `queue` Queue
      - `_class` string
      - `href` string
    - `runs` Runs
      - `_class` string
      - `href` string
    - `scm` Scm
      - `_class` string
      - `href` string
    - `self` Self
      - `_class` string
      - `href` string
    - `trends` Trends
      - `_class` string
      - `href` string
  - `avatar` string — the url of organization avatar
  - `jenkinsOrganizationPipeline` boolean — weather or not already have jenkins pipeline.
  - `key` string — the key of a Bitbucket organization
  - `name` string — organization name

---

[API](https://skmtc.net/kubesphere/apis/kubesphere-devops.md) · [All operations](https://skmtc.net/kubesphere/apis/kubesphere-devops/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kubesphere/kubesphere-devops/revisions/f2642b25b303/schema)
