summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ci/ci_variable_list/graphql/mutations/group_delete_variable.mutation.graphql
blob: b5d007237c85a3f9444cd36e91b67c4f910aca13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#import "~/ci/ci_variable_list/graphql/fragments/ci_variable.fragment.graphql"

mutation deleteGroupVariable($variable: CiVariable!, $endpoint: String!, $fullPath: ID!, $id: ID!) {
  ciVariableMutation: deleteGroupVariable(
    variable: $variable
    endpoint: $endpoint
    fullPath: $fullPath
    id: $id
  ) @client {
    group {
      id
      ciVariables {
        nodes {
          ...BaseCiVariable
          ... on CiGroupVariable {
            environmentScope
            masked
            protected
            raw
          }
        }
      }
    }
    errors
  }
}