Remove a Source from a Session
This command removes the specified source from the session.
Authorizations: All
Requests
removeSourceFromSession sessionId sourceId |
Parameters
Parameter | Description/Values |
---|---|
sessionId | The ID of a HMP session. |
sourceId | The ID of a HMP source. See the Tip in Add a Source to a Session to obtain the source ID. |
Result
Success
|
Error
Error | Description |
---|---|
| Calling removeSourceFromSession requires 2 parameters. |
| The sessionId provided was not a valid UUID. OR The sourceId provided was not a valid UUID. |
| The 'session' with UUID 'sessionId ' was not found. |
| The source with UUID 'sourceId ' was not found. |
| The session is being recorded. All recordings for this session must be stopped before a source can be added. |
| Removing source from session failed. Please see calypso.log for details. |
Example
The following example removes the source from session ID 71edd346-2cf0-4c62- b3d3-9d457b287394. The system returns OK.
|