Roles

Add role assignment

Changed on

Assigns a user to a role.

post/roles/{id}/assignments

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

user_idinteger required

The ID of the user

Response

Add assignment for a role

successboolean

If the response is successful or not

Changes