Actions101
- š¤ Chatting Actions
- š„ļø Sessions Actions
- š Auth Actions
- š¼ļø Screenshot Actions
- š¢ Channels Actions
- š¢ Status Actions
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ Groups Actions
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
Overview
This node operation deletes a specified session by its name. It is useful in scenarios where you need to programmatically terminate or clean up sessions in an application or service, such as logging out users or clearing session data to free resources.
Use Case Examples
- Deleting a user session after logout to ensure security.
- Removing expired or inactive sessions to maintain system performance.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the session to be deleted, required to identify which session to remove. |
| Request Options | Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to customize the API call behavior. |
Output
JSON
success- Indicates whether the session deletion was successful.message- Additional information or error message related to the deletion operation.
Dependencies
- Requires an API key or authentication token to authorize the session deletion request.
Troubleshooting
- Ensure the session name provided exists; otherwise, the deletion will fail with an error indicating the session was not found.
- If SSL certificate validation is enabled and the server uses a self-signed or invalid certificate, the request may fail unless 'Ignore SSL Issues' is enabled.
- Proxy settings must be correctly configured if used; incorrect proxy URLs or credentials will cause request failures.
- Timeouts may occur if the server is slow to respond; increasing the timeout value can help in such cases.