updateStackApp

Updates a stack app. Returns a StackApp.

Parameters

Name Type Description
id required ID

Stack app ID.

description optional String
name optional String
stackIdsToAdd optional [ID]
stackIdsToRemove optional [ID]
teamIdsToAdd optional [ID]
teamIdsToRemove optional [ID]

Example Queries

Update the main-app stack app by changing its description and adding/removing some stacks and teams:

mutation {
  updateStackApp(
    id: "main-app",
    description: "New description",
    stackIdsToAdd: ["static-website", "scripts"],
    teamIdsToRemove: ["db-admins"]
  ) {
    id
    slug
  }
}