team

Add an environment to the team

post/team/environments

Request

  • Base URL
    https://api.scalar.com/core
  • URL
    https://api.scalar.com/core/team/environments
  • Auth
    HTTP bearer

Request body

slugstring required
namestring

Example request

{
  "slug": "staging"
}

Response

Default Response

slugstring required
namestring required
branchesstring[] required

Example response

[
  {
    "slug": "staging"
  }
]

Changes