{"errors":[{"id":"F6016","title":"URL Rule is not configured"}]}
I need to change permissions on an external share link. Here is my code:
- permission_id = "59mP5pbPAhe-AfgCh";
- header = Map();
- header.put("Accept","application/vnd.api+json");
- data = Map();
- data_param1 = Map();
- att_param1 = Map();
- att_param1.put("role_id","34");
- data_param1.put("attributes",att_param1);
- data_param1.put("type","permissions");
- data.put("data",data_param1);
- response = invokeurl
- [
- url :"https://www.zohoapis.com/workdrive/api/v1/permissions/" + permission_id
- type :PATCH
- parameters:data.toString()
- headers:header
- connection:"workdrive_all"
- ];
- info response;
- return "";
The error is:
- {"errors":[{"id":"F6016","title":"URL Rule is not configured"}]}
Here is the data from the call to create the external link: