Skip to content

Instantly share code, notes, and snippets.

@yfarjoun
Last active October 21, 2022 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yfarjoun/a171b11549b45efb21d1e0345103b48f to your computer and use it in GitHub Desktop.
Save yfarjoun/a171b11549b45efb21d1e0345103b48f to your computer and use it in GitHub Desktop.
Stopping a Terra notebook environment from within it
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