Update chat debug retention days
PUT
CoderSessionTokenheader
Coder-Session-Token<token>Request body
application/json- body
debug_retention_days?integerNo Content
The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X PUT \ "$CODER_URL/api/v2/chats/config/debug-retention-days" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "debug_retention_days": 0}'Example Response204
Empty