Change data before apply

Hello. I have problem with restapi provider
https://registry.terraform.io/providers/r-barreto/restapi/latest

I need to re-create Authorization token every time (1min lifetime). But this provider resource just adding Authorization token to state file and after 1 minute when applying one more time it cannot be updated or deleted.

Can someone help me with this problem?