---
title: "Update role details"
method: PUT
path: "/roles/{id}"
tags: ["Roles"]
---

# Update role details

`PUT /roles/{id}`

Updates the parent role and/or the name of a specific role.

## Path parameters

- `id` integer, required

## Request body

- object — The details of the role
  - `parent_role_id` integer, nullable — The ID of the parent role
  - `name` string — The name of the role

## Response `200`

Update role details

- object
  - `success` boolean — If the response is successful or not
  - `data` object — The response data
    - `id` integer — The ID of the updated role

---

[API](https://skmtc.net/pipedrive/apis/pipedrive-api-v1.md) · [All operations](https://skmtc.net/pipedrive/apis/pipedrive-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pipedrive/pipedrive-api-v1/versions/bf863a979545/schema)
