---
title: "UpdateRunnerPolicy"
method: POST
path: "/gitpod.v1.RunnerService/UpdateRunnerPolicy"
tags: ["gitpod.v1.RunnerService"]
---

# UpdateRunnerPolicy

`POST /gitpod.v1.RunnerService/UpdateRunnerPolicy`

Updates an existing runner policy.

 Use this method to:
 - Modify access levels
 - Change group roles
 - Update permissions

 ### Examples

 - Update policy role:

   Changes a group's access level.

   ```yaml
   runnerId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
   groupId: "f53d2330-3795-4c5d-a1f3-453121af9c60"
   role: RUNNER_ROLE_USER
   ```

## Request body

- GitpodV1UpdateRunnerPolicyRequest — UpdateRunnerPolicyRequest updates a Project Policy.
  - `groupId` string, uuid — group_id specifies the group_id identifier
  - `role` 'RUNNER_ROLE_UNSPECIFIED' | 'RUNNER_ROLE_ADMIN' | 'RUNNER_ROLE_USER'
  - `runnerId` string, uuid — runner_id specifies the project identifier

## Response `200`

Success

- GitpodV1UpdateRunnerPolicyResponse
  - `policy` GitpodV1RunnerPolicy, required
    - `groupId` string, uuid
    - `role` 'RUNNER_ROLE_UNSPECIFIED' | 'RUNNER_ROLE_ADMIN' | 'RUNNER_ROLE_USER'

## Other responses

- `default` — Error

---

[API](https://skmtc.net/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.net/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
