Actions137
- Business Actions
- Add Product to Collection
- Add Tag to Chat
- Create Collection
- Create Product
- Create Tag
- Delete Collection
- Delete Product
- Delete Tag
- Edit Collection
- Edit Tag
- Get Available Categories
- Get Business Profile
- Get Product
- Get Products By Phone
- Get Tag Colors
- List Collection Products
- List Collections
- List Products
- List Tags
- Remove Product From Collection
- Remove Tag From Chat
- Save Catalog Config
- Set Business Hours
- Set Categories
- Chat Actions
- Community Actions
- Contact Actions
- Event Actions
- Group Actions
- Instance Actions
- Interactive Message Actions
- Message Actions
- Message Action Actions
- Message Status Actions
- Newsletter Actions
- Poll Actions
- Privacy Actions
- Profile Actions
- Proxy Actions
- Queue Actions
- Status/Story Actions
- Webhook Actions
Privacy → Update Profile Photo
AI-generatedSummary
Update the profile photo visibility setting for the current user.
Inputs
- value (required) — Who can see your profile photo; options: all, contacts, contact_blacklist, none
- requestOptions — Configuration for request settings such as batching, batch interval, etc.
- allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
- proxy — HTTP proxy to use, e.g. http://username:password@myproxy:3128
- timeout — Time in ms to wait for the server to send response headers before aborting the request
Output shape
a JSON response indicating success or failure of the profile photo update
Typically returns a success status; on error returns an error object; no pagination of results
Examples
Example 1: Set profile photo visibility to contacts only
value: contacts
Example 2: Upload a new profile photo through a corporate proxy with extended timeout
proxy: http://myproxy:3128; timeout: 15000; value: all
Example 3: Update profile photo while ignoring SSL certificate validation
allowUnauthorizedCerts: true; value: none