api/MarkLogic/MLPHP/Metadata.php
public function deletePermissions($roleNames)
    {
        if (is_array($roleNames)) {
            foreach($roleNames as $name) {
                unset($this->permissions[$name]);
            }
        } else {
            unset($this->permissions[$roleNames]);
        }
        return $this;
    }
public function deletePermissions($roleNames)
    {
        if (is_array($roleNames)) {
            foreach($roleNames as $name) {
                unset($this->permissions[$name]);
            }
        } else {
            unset($this->permissions[$roleNames]);
        }
        return $this;
    }
Delete permissions metadata.

@param array|string $roleNames An array of role names or a role name string.
@return Metadata $this