Skip to content

Commit

Permalink
Merge branch 'master' into doc-loadbalancer-name
Browse files Browse the repository at this point in the history
  • Loading branch information
dasrecht authored Sep 2, 2019
2 parents 9f7629c + f9ce8bd commit 2ea31c6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/administering_lagoon/graphql_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,3 +407,23 @@ mutation {
}
}
```

### Deleting Environments

You can also use the Lagoon GraphQL API to delete an environment. You'll need to know the project name and the environment name in order to run the command.

```graphql
mutation {
deleteEnvironment(
input: {
# TODO: Fill in the name field
# This is the environment name
name:""
# TODO: Fill in the project field
# This is the project name
project:""
execute:true
}
)
}
```

0 comments on commit 2ea31c6

Please sign in to comment.