delete-dir will delete <directory>, which is a string that may be an absolute or relative path.
If "status" clause is used, then number <status> is GG_OKAY if succeeded, GG_ERR_EXIST if directory is not empty, or GG_ERR_FAILED for other errors (in which case you can use "errno" clause in get-req to find the specific reason why).