You must explicitly call this API to stop the deduction of coins, so that our system knows the user leaves the Agora room and releases the resource. Otherwise, our system will not release the resources allocated for you, and it will continue to deduct coins from your account.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
channel
stringÂ
required
channel
Example
{"channel":"string"}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://video.a2e.ai/api/v1/streaming-avatar/leave' \
--header'Content-Type: application/json' \
--data-raw''