mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: correct example for /extend endpoint in the documentation (#15521)
The example in the docs wrongly shows a POST to this endpoint. Signed-off-by: Aaron Lehmann <alehmann@netflix.com>
This commit is contained in:
@@ -94,7 +94,7 @@ activity.
|
||||
do
|
||||
if pgrep -f "my_training_script.py" > /dev/null
|
||||
then
|
||||
curl -X POST "https://coder.example.com/api/v2/workspaces/$WORKSPACE_ID/extend" \
|
||||
curl -X PUT "https://coder.example.com/api/v2/workspaces/$WORKSPACE_ID/extend" \
|
||||
-H "Coder-Session-Token: $CODER_AGENT_TOKEN" \
|
||||
-d '{
|
||||
"deadline": "2019-08-24T14:15:22Z"
|
||||
|
||||
Reference in New Issue
Block a user