Actions116
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ļø Sessions Actions
- š Profile Actions
- š¼ļø Screenshot Actions
- š¤ Chatting Actions
- š¢ Channels Actions
- š¢ Status Actions
- š„ Groups Actions
- Add Participants
- Demote To Admin
- Create Group
- Get Groups
- Join Info Group
- Join Group
- Refresh Groups
- Get Group
- Delete Group
- Leave Group
- Get Chat Picture
- Set Picture
- Delete Picture
- Set Description
- Set Subject
- Set Info Admin Only
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Remove Participants
- Promote To Admin
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
- š Auth Actions
Overview
This node deletes a profile picture associated with a specified session. It is useful in scenarios where a user wants to remove their profile image from a service or application programmatically. For example, it can be used in automation workflows to clear profile pictures when a user logs out or updates their profile.
Use Case Examples
- Deleting a user's profile picture after account deactivation.
- Removing outdated profile images in bulk for multiple sessions.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the session whose profile picture is to be deleted. |
| Request Options | Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configuration. |
Output
JSON
success- Indicates whether the profile picture deletion was successful.message- Additional information or status message about the deletion operation.
Dependencies
- Requires an API key or authentication token to authorize the deletion request to the profile service.
Troubleshooting
- Ensure the session name is correct and active; an invalid session may cause deletion failure.
- Check network connectivity and proxy settings if requests time out or fail.
- If SSL certificate validation is disabled, be aware of potential security risks.
- Common error messages include authentication failures, invalid session errors, and request timeouts. Verify credentials and session validity to resolve these.