We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c9856c commit ef359e1Copy full SHA for ef359e1
1 file changed
infra/aggregation_mode/aggregation_mode_shutdown.sh
@@ -6,8 +6,8 @@ echo "Stopping GPU Server..."
6
7
sleep 120
8
9
-curl -X POST "https://dashboard.tensordock.com/api/v2/instances/41ef030d-22f2-4e5e-852e-cb21982271c0/stop" \
10
- -H "Authorization: Bearer fwf7iWW3PEQXqUTFGPJvlmQ8lny3MIUg" \
+curl -X POST "$BASE_URL/instances/$INSTANCE_ID/stop" \
+ -H "Authorization: Bearer $API_KEY" \
11
-H "Content-Type: application/json" \
12
-H "Accept: application/json" \
13
--data-urlencode 'disassociate_resources=true' \
0 commit comments