del_expired

Delete all expired tokens.

This function requires GRANT privileges on the @thingsdb scope.

This function generates an event.

Function

del_expired();

Arguments

None

Return value

Returns nil.

Example

This code will delete all expired tokens:

// Delete all expired tokens
del_expired();