AgentCallLimitsController_saveStream
PUT
/api/agents/call-limits/streams/{streamId}
const url = 'https://api.streams.chat/api/agents/call-limits/streams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"limit":{"mode":"limited","limit":1}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.streams.chat/api/agents/call-limits/streams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Content-Type: application/json' \ --data '{ "limit": { "mode": "limited", "limit": 1 } }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”streamId
required
string format: uuid