workdocs_create_labels function

Adds the specified list of labels to the given resource (a document or folder)