question

matt-spinks2179 avatar image
matt-spinks2179 asked Anirban Sen Chowdhary edited

Where is the EditCallLog permission?

I am needing to add a permission for my app to be able to delete call log entries and recordings. After some digging, I found that I need to add the EditCallLog permission to my app in order to do this. And in the developer guide I see this listing in the Application Permissions:

Seems simple enough. However, when I navigate to my app settings, the permissions there don't seem to match:

There is no EditCallLog entry anywhere in that list. Is there a different permission I need to add that includes the EditCallLog permission?


To further elaborate on this, I have my code set up to run the delete procedure. Here is what that looks like:

            var url = RingCentralActions.Config.ApiUrl + "/restapi/v1.0/account/~/extension/~/call-log/" + callId;
            var request = (HttpWebRequest)WebRequest.Create(url);
            request.Method = "DELETE";
            request.Headers.Add("Authorization", "Bearer " + AccessToken);
            request.Accept = "application/json";
            using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
            {
                //DO MORE STUFF HERE...
            }

and I am getting this response:

403 Forbidden
{
  "errorCode" : "InsufficientPermissions",
  "message" : "In order to call this API endpoint, application needs to have [EditCallLog] permission",
  "errors" : [ {
    "errorCode" : "CMN-401",
    "message" : "In order to call this API endpoint, application needs to have [EditCallLog] permission",
    "permissionName" : "EditCallLog"
  } ],
  "permissionName" : "EditCallLog"
}


api permissions
1595862067101.png (114.0 KiB)
1595862133324.png (88.1 KiB)
1595862156297.png (43.5 KiB)
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

·
Anirban Sen Chowdhary avatar image
Anirban Sen Chowdhary answered Anirban Sen Chowdhary edited

Some permissions like "EditAccounts " or "EditCallLog " are advanced permission that can be added by backend developer support team on behalf of you.

All you need is to request to devsupport@ringcentral.com with your client id to add this permission in your app.

1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.