Skip to main content

Create a team

POST 

/api/v1/teams

Team memberships can be backed by an IdP group (from Okta, Azure AD, Google Groups, etc), or can be managed directly through Cortex. Each has a separate request shape, so make sure to select the correct example.

Request

Body

required

    oneOf

    Use this request shape when creating a team entry whose memberships are synced with an Idp group, such as from Okta, Google Groups, Github Teams, Azure AD, etc.

    links

    object[]

    required

  • Array [

  • description string
    name stringrequired
    type stringrequired
    url stringrequired
  • ]

  • metadata

    object

    required

    description string
    name stringrequired
    summary string

    slackChannels

    object[]

    required

  • Array [

  • description string
    name stringrequired
    notificationsEnabled booleanrequired
  • ]

  • teamTag stringrequired

    A unique identifier for the team to be used for API/programmatic access

    type stringrequired

    Use "IDP" for IdentityProviderBackedTeam and "CORTEX" for ManagedTeam

    idpGroup

    object

    group stringrequired
    provider stringrequired

    Possible values: [ACTIVE_DIRECTORY, BAMBOOHR, GIT, GITLAB, GOOGLE, OKTA, OPSGENIE, SERVICE_NOW, SLACK, WORKDAY]

Responses

Successfully created a team

Schema

    catalogEntityTag stringrequired
    id stringrequired
    isArchived booleanrequired

    links

    object[]

    required

  • Array [

  • description string
    name stringrequired
    type stringrequired
    url stringrequired
  • ]

  • metadata

    object

    required

    description string
    name stringrequired
    summary string

    slackChannels

    object[]

    required

  • Array [

  • description string
    name stringrequired
    notificationsEnabled booleanrequired
  • ]

  • teamTag stringrequired
    type stringrequired
Loading...