Skip to content

Update disappearing-message timer

PUT
/api/v1/chat/disappearing-timer
curl --request PUT \
--url http://localhost:3001/api/v1/chat/disappearing-timer \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{}'

Update the global disappearing-message timer.

Timer duration in seconds

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

OK

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Bad Request

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}