Last active
October 21, 2022 15:10
-
-
Save yfarjoun/a171b11549b45efb21d1e0345103b48f to your computer and use it in GitHub Desktop.
Stopping a Terra notebook environment from within it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X "POST" \ | |
-H 'accept: application/json' \ | |
-H "Authorization: Bearer $(gcloud auth application-default print-access-token)" \ | |
"https://notebooks.firecloud.org/api/google/v1/runtimes/$GOOGLE_PROJECT/$CLUSTER_NAME/stop" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment