cURL
curl --request PUT \ --url https://{server-url}/group/toggleEphemeral/{instance} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data ' { "expiration": 123 } '
This response has no body data.
Toggle temporary messages on group
Documentation IndexFetch the complete documentation index at: https://doc.evolution-api.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://doc.evolution-api.com/llms.txt
Use this file to discover all available pages before exploring further.
Your authorization key header
ID of the instance to connect
Group remote JID
Time to expire message (in seconds)