Teams

Teams List

Get the details of all teams within an organization.

Request

gethttps://api.cloudsmith.io/v1/orgs/{org}/teams
Query params
page
integer
A page number within the paginated result set.
page_size
integer
Number of results to return per page.
for_user
boolean
Filter for teams that you are a member of.
query
string
A search term for querying of teams within an Organization.Available options are: name, slug, user, userslug
sort
string
A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, members.

Response

Responses

Retrieved the list of teams within the org

array of objects

object

description
string
optional
length between 1 and 140
name
string
required
length ≥ 1
slug
slug
optional
^[-a-zA-Z0-9_]+$
length ≥ 1
slug_perm
slug
optional
^[-a-zA-Z0-9_]+$
length ≥ 1
visibility
string
optional
Allowed values: Visible, Hidden
Defaults to Visible

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

Org namespace not found

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional