# Automating Delete option using OAuth with C# API

**URL:** <https://devforum.zoom.us/t/automating-delete-option-using-oauth-with-c-api/64434>\
**Category:** API and Webhooks\
**Tags:** oauth\
**Created:** [February 17, 2022, 12:23am UTC](https://devforum.zoom.us/t/automating-delete-option-using-oauth-with-c-api/64434 "2022-02-17T00:23:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavani.kokkiragadda](https://avatars.discourse-cdn.com/v4/letter/p/e9bcb4/32.png) [@pavani.kokkiragadda](https://devforum.zoom.us/u/pavani.kokkiragadda)\
**Post date:** [February 17, 2022, 12:23am UTC](https://devforum.zoom.us/t/automating-delete-option-using-oauth-with-c-api/64434/1 "2022-02-17T00:23:11Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
I was trying to create an automation process for Zoom cloud recordings to be deleted after we successfully download them(using the API calls with download token) . I am using OAuth 2.0 to automate this process as per docs [https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/recordingsList](https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/recordingsList)

In my API, I was calling the OAuth app I created in zoom (I have client id and secret)

While I am able to do this process using Postman with redirect url of the post man. Can you please help me get it through using C#??

**Error**  
the thing I am not able to understand is redirect url. What should I give as a API callback url? a method in my controller?

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
[Endpoint for DELETE.](https://api.zoom.us/v2/meetings/%7BmeetingId%7D/recordings)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Request URL / Headers (without credentials) / Body
2. See error

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![jedesoj436](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@jedesoj436](https://devforum.zoom.us/u/jedesoj436)\
**Post date:** [July 25, 2022, 2:57pm UTC](https://devforum.zoom.us/t/automating-delete-option-using-oauth-with-c-api/64434/2 "2022-07-25T14:57:17Z")

</div>

I think the place where it diverges is with the `btoa(...)` call which produces a code\_challenge that is different than other algorithms do. This threw me off for a while[.](https://www.businessstudynotes.com/hrm/human-resource-management/group-and-team-difference/)
