// BlockUser : Blocks the specified user on behalf of the authenticated user.
//
// Required scope: user:manage:blocked_users
BlockUser : Blocks the specified user on behalf of the authenticated user.

Required scope: user:manage:blocked_users
// BlockUser : Blocks the specified user on behalf of the authenticated user . // // Required scope : user : manage : blocked_users
func (c *Client) BlockUser(params *BlockUserParams) (*BlockUserResponse, error) {
	resp, err := c.put("/users/blocks", nil, params)
	if err != nil {
		return nil, err
	}
	block := &BlockUserResponse{}
	resp.HydrateResponseCommon(&block.ResponseCommon)
	return block, nil
}
func ( c * Client ) BlockUser ( params * BlockUserParams ) ( * BlockUserResponse , error ) { resp , err := c . put ( " " , nil , params ) if err != nil { return nil , err } block := & BlockUserResponse { } resp . HydrateResponseCommon ( & block . ResponseCommon ) return block , nil }
BlockUser : Blocks the specified user on behalf of the authenticated user.
BlockUser : Blocks the specified user on behalf of the authenticated user .