Skip to content
Skip to Content
Coder Docs

Update chat plan mode instructions

PUT
/api/v2/chats/config/plan-mode-instructions

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Request Body

Request body

application/json
  1. body
plan_mode_instructions?string

Response Body

No Content

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X PUT \	"$CODER_URL/api/v2/chats/config/plan-mode-instructions" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN" \	-H "Content-Type: application/json" \	-d '{  "plan_mode_instructions": "string"}'
Example Response204
Empty