Update user chat custom prompt
PUT
CoderSessionTokenheader
Coder-Session-Token<token>Request body
application/json- body
custom_prompt?stringOK
application/json- response
custom_prompt?stringThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X PUT \ "$CODER_URL/api/v2/chats/config/user-prompt" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "custom_prompt": "string"}'Example Response200
{ "custom_prompt": "string"}