Cloudflare API token | Token that doesn't delete records older than itself

I wan to find a way to create a cloudflare API token that is forbidden to delete the records older than the date of creation of the token.

Scenario to clear the question:
An older DNS Record(created on 20th May, 2024) named “abc” should not get deleted by a token(created on 27th May, 2024) named “eytety-some-random-string-34ytv43” .

We don’t have that functionality with API tokens.

Depending on the use case you could maybe write something that checks the creation date of a record before deleting it? The token itself would still be able to delete any records.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.