Procore.Api.CoreProjectUserProjectRoles (procore_sdk v0.3.0)

API calls for all endpoints tagged CoreProjectUserProjectRoles.

Summary

Functions

Update User Project Roles Set which Users are associated with a specific Project Role. Will remove any users associated with the role if they are not included in the user_ids parameter.

Functions

Link to this function

rest_v10_projects_project_id_user_project_roles_id_patch(connection, procore_company_id, id, project_id, opts \\ [])

Update User Project Roles Set which Users are associated with a specific Project Role. Will remove any users associated with the role if they are not included in the user_ids parameter.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (integer()): ID of the Company Role
  • project_id (integer()): Unique identifier for the project.
  • opts (keyword): Optional parameters
    • :body (Body6):

Returns

  • {:ok, Procore.Model.UserProjectRole.t} on success
  • {:error, Tesla.Env.t} on failure