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.InternalError
- v1.InvalidProxyError
- v1.ServerNotFoundError
- v1.NoSuchAccountError
- v1.UnknownGroupError
- v1.GroupVerificationError
- v1.InvalidRequestError
- v1.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.UnregisteredUserError
- v1.SQLError
- v1.GroupPatchNotAcceptedError- If updating a group, caused when server rejects the group update.
- v1.UnsupportedGroupError
- v1.NetworkError
- v1.InvalidRecipientError
- v1.ProofRequiredError
- v1.RateLimitError
- v1.SignalServerError