NervesHubUserAPI.ProductUser.add

You're seeing just the function add, go back to NervesHubUserAPI.ProductUser module for more information.
Link to this function

add(org_name, username, role, auth)

View Source
Link to this function

add(org_name, product_name, username, role, auth)

View Source

Specs

add(
  String.t(),
  String.t(),
  String.t(),
  NervesHubUserAPI.role(),
  NervesHubUserAPI.Auth.t()
) :: {:error, any()} | {:ok, any()}

Add a user to the org with a role.

Verb: POST Path: /orgs/:org_name/product/:product_name/users