Skip to content

Api > CloudVariableBank > MarkKeyForDeletion()


CloudVariableBank.MarkKeyForDeletion(string key)⚓︎

Marks the key to be deleted from the server. Same result can be accomplished by setting the value of the key to nil.

Parameters:⚓︎

Name Type Description
key string The key to associate the value to.

Usage⚓︎

---@type CloudVariableBank
local cloudvariablebank;

---@type string
local key;


cloudvariablebank.MarkKeyForDeletion(key)

Extra Detail⚓︎

Note that setting a value to a key after marking it for deletion will result in deletion request begin cancelled.