Skip to content

gcpCloudAccountDeleteProjects

Delete cloud account for the given GCP project cloud account IDs and feature.

Arguments

Argument Type Description
input (required) GcpCloudAccountDeleteProjectsInput! Input required to delete a list of GCP projects.

Returns

GcpCloudAccountDeleteProjectsReply!

Sample

mutation GcpCloudAccountDeleteProjects($input: GcpCloudAccountDeleteProjectsInput!) {
  gcpCloudAccountDeleteProjects(input: $input)
}
{
  "input": {
    "cloudAccountsProjectIds": [
      "00000000-0000-0000-0000-000000000000"
    ],
    "nativeProtectionProjectIds": [
      "00000000-0000-0000-0000-000000000000"
    ],
    "sharedVpcHostProjectIds": [
      "00000000-0000-0000-0000-000000000000"
    ],
    "skipResourceDeletion": true
  }
}
{
  "data": {
    "gcpCloudAccountDeleteProjects": {
      "gcpProjectDeleteStatuses": [
        {
          "error": "example-string",
          "projectUuid": "example-string",
          "success": true
        }
      ]
    }
  }
}