PUT

https://{server-url}

/
group
/
toggleEphemeral
/
{instance}
curl --request PUT \
  --url https://{server-url}/group/toggleEphemeral/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "expiration": 123
}'

Authorizations

apikey
string
headerrequired

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Query Parameters

groupJid
boolean
required

Group remote JID

Body

application/json
expiration
integer
required

Time to expire message (in seconds)