Can an API key make a public file restricted again?
Not through general access, which is browser only. A key with
files:approve can stop a public link by setting a status that does not
allow public use, or by clearing the status.
More: MCP, Worked examples