Teams

Teams Create

Create a team for this organization.

Request

posthttps://api.cloudsmith.io/v1/orgs/{org}/teams
Body params optional

Response body

object

object

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

Response

Responses

Team created

object

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

The team cannot be created.

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