1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/billing/projects/unlink
2023-08-23 10:30:46 +00:00

45 lines
1.5 KiB
Text

NAME
gcloud billing projects unlink - unlink the account (if any) linked with a
project
SYNOPSIS
gcloud billing projects unlink PROJECT_ID [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
This command unlinks a project from its associated billing account. This
action disables billing on the project. Any billable resources and services
in use in your project are stopped, and your application stops functioning.
Any costs accrued prior to disabling billing on the project are charged to
the previously associated billing account.
Note: To link a project to a different billing account, use the billing
projects link command. You do not need to unlink the project first.
EXAMPLES
To unlink the project my-project from its linked billing account, run:
$ gcloud billing projects unlink my-project
POSITIONAL ARGUMENTS
PROJECT_ID
Specify a project id.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
API REFERENCE
This command uses the cloudbilling/v1 API. The full documentation for this
API can be found at: https://cloud.google.com/billing/v1/getting-started
NOTES
These variants are also available:
$ gcloud alpha billing projects unlink
$ gcloud beta billing projects unlink