Media.update / referenceId

Hello everyone,

I was wondering how to set to null the “referenceId” field of a media entry with a media.update php api call.

If I use null nothing happens, I still have the same content than before the update. If I use “” (empty string) I get the following exception.

"The property \"KalturaMediaEntry::referenceId\" must have a min length of 2 characters"

What would be the keyword to set this field to null/empty (it’s possible to do it in the kmc, so I think it’s possible trough the api) ?

Same questions for “tags” and “description” fields. Right now I use “” (empty string) if I want to empty them during a media.update, but is it the right way to do it ?

Many thanks.

Nevermind, I found what I was looking for:

\KalturaNull::getInstance()