---
title: "Change the user role for a user"
method: POST
path: "/gdc/projects/{project_id}/roles/{role_id}/users"
tags: ["project-roles-management"]
---

# Change the user role for a user

`POST /gdc/projects/{project_id}/roles/{role_id}/users`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/projects/{project_id}/roles/{role_id}/users`
- Auth: none declared

To change the user role of a user in a project, assign this user to another user role within the project.

For more information about user roles, see [User Roles](https://help.gooddata.com/display/doc/User+Roles).

## Path parameters

- `project_id` string, required
- `role_id` string, required

## Request body

- AssociateUser
  - `associateUser` object, required
    - `user` string, uri, required: URI of the user's profile

## Response `200`

_

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
