set_expiration
Set the message expiration timer for a thread. Expiration must be specified in seconds, set to 0 to disable timer
auto-generated example may not be a valid request. Seev1.SetExpirationRequestfor all fields.
{
"account": "0cc10e61-d64c-4dbc-b51c-334f7dd45a4a",
"address": {
"number": "+13215551234"
},
"expiration": 604800,
"group": "EdSqI90cS0UomDpgUXOlCoObWvQOXlH5G3Z2d3f4ayE=",
"type": "set_expiration",
"version": "v1"
}
- Request Type:
v1.SetExpirationRequest - Success Response Type:
v1.SendResponse - Error response types:
v1.InternalErrorv1.InvalidProxyErrorv1.ServerNotFoundErrorv1.NoSuchAccountErrorv1.UnknownGroupErrorv1.GroupVerificationErrorv1.InvalidRequestErrorv1.AuthorizationFailedError- Can be caused if signald is setup as a linked device that has been removed by the primary device. If trying to update a group, this can also be caused if group permissions don’t allow the update (e.g. current role insufficient or not a member).v1.UnregisteredUserErrorv1.SQLErrorv1.GroupPatchNotAcceptedError- If updating a group, caused when server rejects the group update.v1.UnsupportedGroupErrorv1.NetworkErrorv1.InvalidRecipientErrorv1.ProofRequiredErrorv1.RateLimitErrorv1.SignalServerError