client_set_metadata

Function

ArgDescriptionType
client_idstring (required)
metadataA dict containing metadata. If not specified we use kwargs.ordereddict.Dict

Required permissions:COLLECT_CLIENT SERVER_ADMIN

Description

Sets client metadata.

Client metadata is a set of free form key/value data (see client_metadata() function).

For existing keys, the value is overwritten. Setting a metadata key with a NULL value deletes that entry.

Example

SELECT client_set_metadata(ClientId="C.1234", Foo="Bar")
FROM scope()