Stop a Real-time STT agent
Updated
Stops a Real-time STT task and leaves the channel.
post
https://api.agora.io/api/speech-to-text/v1/projects/{appid}/agents/{agentId}/leaveUse this method to leave the channel and stop Real-time STT.
Path Parameters
Response
-
If the returned status code is
200, the request was successful. -
If the returned status code is not
200, the request failed.
Response Body
Response schema
200application/jsonOK
defaultapplication/jsonError response.
Request examples
curl --request POST \ --url https://api.agora.io/api/speech-to-text/v1/projects/:appid/agents/:agentId/leave \ --header 'Authorization: Basic <credentials>'Response example
Empty
Empty
