gcloud endpoints services delete - deletes a service from Google Service Management
gcloud endpoints services delete SERVICE [--async] [GCLOUD_WIDE_FLAG ...]
Services that are deleted will be retained in the system for 30 days. If a deleted service is still within this retention window, it can be undeleted with the undelete command.
To delete a service named my-service, run:
$ gcloud endpoints services delete my-service
To run the same command asynchronously (non-blocking), run:
$ gcloud endpoints services delete my-service --async
- SERVICE
The name of the service to delete.
- --async
Return immediately, without waiting for the operation in progress to complete.
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.
These variants are also available:
$ gcloud alpha endpoints services delete
$ gcloud beta endpoints services delete