---
title: "SetProjectMemberUserRole sets the role for the member"
method: PUT
path: "/v1/orgs/{org}/projects/{project}/members/{email}"
---

# SetProjectMemberUserRole sets the role for the member

`PUT /v1/orgs/{org}/projects/{project}/members/{email}`

## Path parameters

- `org` string, required
- `project` string, required
- `email` string, required

## Request body

- object
  - `resources` V1ResourceName[]
    - `name` string
    - `type` string
  - `restrictResources` boolean
  - `role` string

## Response `200`

A successful response.

- V1SetProjectMemberUserRoleResponse

## Other responses

- `default` — An unexpected error response.

## Changes

- **2025-12-17** (v1) `9d8c0d1245ce` — 2 info
  - added the new optional request property `resources`
  - added the new optional request property `restrictResources`
- **2025-12-11** (v1) `f317ff96998d` — 2 warning
  - removed the request property `resources`
  - removed the request property `restrictResources`

[Change history](https://skmtc.dev/rilldata/apis/rill-admin-api/changes/v1/orgs/:org/projects/:project/members/:email/put.md)

---

[API](https://skmtc.dev/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.dev/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/revisions/abe7a430f373/schema)
