# 403 on APIs to activate repo

**URL:** <https://drone.discourse.group/t/403-on-apis-to-activate-repo/5964>\
**Category:** Drone Support\
**Created:** [October 11, 2017, 2:55am UTC](https://drone.discourse.group/t/403-on-apis-to-activate-repo/5964 "2017-10-11T02:55:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishal24tuniki](https://avatars.discourse-cdn.com/v4/letter/v/e480ec/32.png) [@vishal24tuniki](https://drone.discourse.group/u/vishal24tuniki)\
**Post date:** [October 11, 2017, 2:55am UTC](https://drone.discourse.group/t/403-on-apis-to-activate-repo/5964/1 "2017-10-11T02:55:42Z")

</div>

Hi,

I am suddenly started getting 403 http status code when i am trying to activate a repo

I have also tested now using cli and the command shows “client error 403: Administrative access is required.”

But when i do “drone user info xxx” which is working fine, a command which requires admin access

---

<div class="post-metadata">

**Author:** ![vishal24tuniki](https://avatars.discourse-cdn.com/v4/letter/v/e480ec/32.png) [@vishal24tuniki](https://drone.discourse.group/u/vishal24tuniki)\
**Post date:** [October 11, 2017, 3:14am UTC](https://drone.discourse.group/t/403-on-apis-to-activate-repo/5964/2 "2017-10-11T03:14:07Z")

</div>

Seems like you need admin access on each repo to activate it. Strange, i thought it would use the credentials of github authorized oauth app we created and not the users credential

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [October 11, 2017, 4:23am UTC](https://drone.discourse.group/t/403-on-apis-to-activate-repo/5964/3 "2017-10-11T04:23:01Z")

</div>

> [@On another topic](https://drone.discourse.group/t/853/2):
>
> Seems like you need admin access on each repo to activate it

Creating webhooks requires admin access

> [@On another topic](https://drone.discourse.group/t/853/2):
>
> Strange, I thought it would use the credentials of github authorized oauth app we created and not the users credential

This is the expected behavior when using oauth. The user authorizes the application (drone) to perform actions on his/her behalf. Drone cannot perform actions on behalf of the user unless the user has the appropriate permission levels within github.
