Chats

Update chat workspace time to live

Changed on
put/api/v2/chats/config/workspace-ttl

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/chats/config/workspace-ttl
  • Auth
    API key in header Coder-Session-Token

Request body

workspace_ttl_msinteger

WorkspaceTTLMillis is the workspace TTL in milliseconds. Zero means disabled; the template's own autostop setting applies.

Response

No Content

Changes