# API delete branch: 403 (Forbidden)

**URL:** <https://community.codecov.com/t/api-delete-branch-403-forbidden/1237>\
**Category:** Support\
**Created:** [April 7, 2020, 4:41pm UTC](https://community.codecov.com/t/api-delete-branch-403-forbidden/1237 "2020-04-07T16:41:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![meian](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/meian/32/1770_2.png) [@meian](https://community.codecov.com/u/meian)\
**Post date:** [April 7, 2020, 4:41pm UTC](https://community.codecov.com/t/api-delete-branch-403-forbidden/1237/1 "2020-04-07T16:41:04Z")

</div>

### Description

On reference, [Delete a branch](https://docs.codecov.io/reference#section-delete-a-branch) path is the same to `Get a single branch` api call.  
My token works fine with GET request, but with DELETE request got a 403 response.  
What is wrong?

### Additional Information

API called by Postman.  
Addtional is only `Authorization: token [api-token]` header.  
and, on chrome browse to branch page and operation from `Click here to mark branch as deleted.` link is successful deleted.

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [April 8, 2020, 3:33pm UTC](https://community.codecov.com/t/api-delete-branch-403-forbidden/1237/2 "2020-04-08T15:33:53Z")

</div>

Hi @meian, Thanks for bringing this up. I’ll take a look and see why this might be happening.

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [April 16, 2020, 5:08pm UTC](https://community.codecov.com/t/api-delete-branch-403-forbidden/1237/3 "2020-04-16T17:08:55Z")

</div>

Hi @meian, just a quick update. Our product team has flagged this as an issue and is working to get it fixed.
