func (c *Client) UpdateUser(params *UpdateUserParams) (*UsersResponse, error) {
	resp, err := c.put("/users", &ManyUsers{}, params)
	if err != nil {
		return nil, err
	}

	users := &UsersResponse{}
	resp.HydrateResponseCommon(&users.ResponseCommon)
	users.Data.Users = resp.Data.(*ManyUsers).Users

	return users, nil
}
// UpdateUser updates the description of a user specified
// by a Bearer token.
//
// Required scope: user:edit
UpdateUser updates the description of a user specified
by a Bearer token.

Required scope: user:edit
// UpdateUser updates the description of a user specified // by a Bearer token . // // Required scope : user : edit
func (c *Client) UpdateUser(params *UpdateUserParams) (*UsersResponse, error) {
	resp, err := c.put("/users", &ManyUsers{}, params)
	if err != nil {
		return nil, err
	}
	users := &UsersResponse{}
	resp.HydrateResponseCommon(&users.ResponseCommon)
	users.Data.Users = resp.Data.(*ManyUsers).Users
	return users, nil
}
func ( c * Client ) UpdateUser ( params * UpdateUserParams ) ( * UsersResponse , error ) { resp , err := c . put ( " " , & ManyUsers { } , params ) if err != nil { return nil , err } users := & UsersResponse { } resp . HydrateResponseCommon ( & users . ResponseCommon ) users . Data . Users = resp . Data . ( * ManyUsers ) . Users return users , nil }
UpdateUser updates the description of a user specified
by a Bearer token.
UpdateUser updates the description of a user specified by a Bearer token .