Roles

Update role details

Changed on

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

put/roles/{id}

Request

  • Base URL
    https://api.pipedrive.com/v1
  • Auth
    • API key in header x-api-token
    • or OAuth 2
      Authorization code: https://oauth.pipedrive.com/oauth/authorize
      Token URL: https://oauth.pipedrive.com/oauth/token scopes: admin

Path parameters

idinteger required

The ID of the role

Request body

parent_role_idinteger nullable

The ID of the parent role

namestring

The name of the role

Response

Update role details

successboolean

If the response is successful or not

Changes