def share(api, sharing_object):
    """
    API POST request to share the object
    :param api: the dhis2.py Api object
    :param sharing_object: ShareableObject instance
    :return: None
    """
    params = {'type': sharing_object.obj_type, 'id': sharing_object.uid}
    api.post('sharing', params=params, data=sharing_object.to_json())
