Updated API Reference.
Added checks that user and group id's are valid when creating a custom column value of type resource.

Essentially the resources/groups could be deleted then the id's are not
valid anymore.